JavaShuo
欄目
標籤
ViewModels and LiveData: Patterns + AntiPatterns
時間 2019-12-06
標籤
viewmodels
livedata
patterns
antipatterns
简体版
原文
原文鏈接
官網已經對ViewModel作了一些說明,好比不能在ViewModel中引入Activity的Context,可是還有不少注意事項,或者說idioms(慣用語法)來更好的使用ViewModel。html 本文參考自Google官網推薦的一篇博文:ViewModels and LiveData: Patterns + AntiPatternsjava 先來一張官網給出的使用架構組件的總體描述圖:an
>>阅读原文<<
相關文章
1.
ViewModels 和 LiveData:模式 +反模式
2.
ViewModels 簡單入門
3.
Design patterns, PHP and Magento
4.
Design Principles and Design Patterns
5.
SharePoint Patterns and Practices 簡介
6.
Design Principle, Design Patterns And Refactoring
7.
[譯]ViewModels:一個簡單的示例
8.
SQL Antipatterns——SQL 反模式(二)
9.
關於使用 Android MVVM + LiveData 模式的一些建議
10.
ViewModel+LiveData
更多相關文章...
•
W3C RDF and OWL 活動
-
W3C 教程
•
XSL-FO table-and-caption 對象
-
XSL-FO 教程
•
RxJava操作符(七)Conditional and Boolean
•
算法總結-股票買賣
相關標籤/搜索
patterns
viewmodels
livedata
action.....and
between...and
react+and
viewmodel+livedata
lifecycles+viewmodel+livedata
kotlin+mvvm+livedata
livedata+viewmodel+repository
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
shell編譯問題
2.
mipsel 編譯問題
3.
添加xml
4.
直方圖均衡化
5.
FL Studio鋼琴卷軸之畫筆工具
6.
中小企業爲什麼要用CRM系統
7.
Github | MelGAN 超快音頻合成源碼開源
8.
VUE生產環境打包build
9.
RVAS(rare variant association study)知識
10.
不看後悔系列!DTS 控制檯入門一本通(附網盤鏈接)
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
ViewModels 和 LiveData:模式 +反模式
2.
ViewModels 簡單入門
3.
Design patterns, PHP and Magento
4.
Design Principles and Design Patterns
5.
SharePoint Patterns and Practices 簡介
6.
Design Principle, Design Patterns And Refactoring
7.
[譯]ViewModels:一個簡單的示例
8.
SQL Antipatterns——SQL 反模式(二)
9.
關於使用 Android MVVM + LiveData 模式的一些建議
10.
ViewModel+LiveData
>>更多相關文章<<