Comments (4)
好的,谢谢
from jetpack_github.
这个影响不大,你可以使用Android Profiler看一下内存使用情况
from jetpack_github.
这个影响不大,你可以使用Android Profiler看一下内存使用情况
那就是说是如果某个页面常驻太多次调用的时候就可能有性能问题吧?有点小强迫症,准备换种写法去用好了-_-!
from jetpack_github.
你也可以把LiveData声明为成员变量,每次获取到数据后,重新setValue就可以了
from jetpack_github.
Related Issues (14)
- 项目相关 HOT 2
- 版本更新报错 HOT 1
- token HOT 2
- Oauth Authorization callback URL 如何配合 HOT 4
- Settings file 'E:\download\Jetpack_GitHub-master\settings.gradle' line: 4 HOT 2
- 大佬有个问题请教 HOT 4
- 接入正式项目 HOT 1
- 检查更新好像出了点问题? HOT 1
- 联系 HOT 1
- BaseViewModel中lanuch和emit方法有什么区别 HOT 1
- 请问有没有启动优化的相关文章介绍 HOT 1
- 请问如果要对返回值封装处理,用emit该怎么处理呢 HOT 4
- [疑问]请问怎么做到多页面共享一个viewmodel HOT 9
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 jetpack_github.