Giter Club home page Giter Club logo

Comments (7)

youlookwhat avatar youlookwhat commented on July 4, 2024

其实就是删掉一些多余的关联包,主要的就是图片,把比较大的图片都放到七牛了,代码占用的内存不大的

from cloudreader.

JantHsueh avatar JantHsueh commented on July 4, 2024

还有个问题想请教一个,项目是使用MVVM架构吧,但是我翻了一下代码,好像没有找到ViewModel相关的类

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024

嗯,我理解的是vm指的是含有能绑定更新的xml文件,另一m还是model ,v是Activity ,有很多对MVVM框架理解的不太一样,我这段时间再多查查资料

from cloudreader.

JantHsueh avatar JantHsueh commented on July 4, 2024

我看了很多文章,分享一下我的看法,如有不对,欢迎指正。我觉得MVVM中,view是activity和xml,vm是viewModel,m是model。这样的话,一些业务逻辑处理和分发,就可以放在vm中。model就只是提供数据

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024

是的 我也了解过,之后会研究后调整 近段时间有点忙~

from cloudreader.

rosaemperor avatar rosaemperor commented on July 4, 2024

其实我也是奔着MVVM来看的,,等我找到activity看过之后,我的眼泪掉下来

from cloudreader.

youlookwhat avatar youlookwhat commented on July 4, 2024

抱歉,我之前看了几篇写mvvm的文章,按照那里面的说法来实现的,可能很多文章写的有些差别,我理解的有偏差,以后我会纠正过来,最近工作有点忙,我会尽快更新~

from cloudreader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.