摘要: 第四章 ViewModel 4.4 ViewModel的原理 不要向 ViewModel中传入任何类型的Context或带有 Context引用的对象 从ViewModelStore 的源码可以看出,ViewModel实际上是以HashMap<String.ViewModel>的形式被缓存起来了。V 阅读全文
posted @ 2023-01-17 15:55 JeffreyGoogle 阅读(40) 评论(0) 推荐(0) 编辑