Comments (1)
如果是 list 类型,activity 配置变化的时候,list 是分页加载的,此时有几种情况呢?
- list 用来每次通知新加载的数据:这样配置变化之后能收到的只有部分数据
- list 用来每次通知全部的数据:vm 内统一处理往数据结构拼接数据,然后使用 livedata 一次性通知,view 层通过 notifydatasetchanged 整个列表刷新,可以,但是每次刷新整个列表;可以用 diffutils 局部刷新
from arch-android.
Related Issues (11)
- BaseViewModel 中增加 onActivityResult 的回调
- 代码配置信息不全 HOT 2
- 一个小建议 HOT 1
- 建议增加androidX支持 HOT 1
- 项目clone下来打不开,是缺少什么文件吗?
- 方法路由 HOT 1
- fix: lifecycle in app fragment HOT 1
- container actvitiy 底部导航栏颜色
- TODOs HOT 1
- 调整方法顺序
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 arch-android.