Comments (7)
其实就是删掉一些多余的关联包,主要的就是图片,把比较大的图片都放到七牛了,代码占用的内存不大的
from cloudreader.
还有个问题想请教一个,项目是使用MVVM架构吧,但是我翻了一下代码,好像没有找到ViewModel相关的类
from cloudreader.
嗯,我理解的是vm指的是含有能绑定更新的xml文件,另一m还是model ,v是Activity ,有很多对MVVM框架理解的不太一样,我这段时间再多查查资料
from cloudreader.
我看了很多文章,分享一下我的看法,如有不对,欢迎指正。我觉得MVVM中,view是activity和xml,vm是viewModel,m是model。这样的话,一些业务逻辑处理和分发,就可以放在vm中。model就只是提供数据
from cloudreader.
是的 我也了解过,之后会研究后调整 近段时间有点忙~
from cloudreader.
其实我也是奔着MVVM来看的,,等我找到activity看过之后,我的眼泪掉下来
from cloudreader.
抱歉,我之前看了几篇写mvvm的文章,按照那里面的说法来实现的,可能很多文章写的有些差别,我理解的有偏差,以后我会纠正过来,最近工作有点忙,我会尽快更新~
from cloudreader.
Related Issues (20)
- 作者:导入项目无反应解决方式
- attempt to re-open an already-closed object: SQLiteDatabase: HOT 3
- 想请教一个问题 HOT 1
- 关于ViewModel HOT 3
- 为什么导入项目会报错ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform artifact 'bottomsheet.aar HOT 3
- Activity跳转动画在主题中style中 ->设置 windowAnimationStyle(华为 mate 8 设置不生效) HOT 7
- fir.im下载链接404问题 HOT 1
- setEmptyViewEnabled HOT 3
- gank.io接口更新了 HOT 3
- 免费开源的小说阅读项目 https://github.com/yuenov/reader-api
- 首页进来,logcat提醒“[ANR Warning]onMeasure time too long...” HOT 1
- 接口更改 HOT 5
- 关于文档图片显示不了的问题 HOT 2
- 令人眼前一亮,真乃是优秀代码作品!!! HOT 3
- F-Droid HOT 3
- Cloud
- 如何打开本地资源 HOT 1
- 图片保存失败 HOT 6
- 请问源代码要在什么编辑器里打开呢 HOT 3
- 深色模式的问题 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudreader.