摘要: UI controllers (activities and fragments) 中代码越少越好,不应该自己去请求数据,而是用ViewModel来更新数据,并且监听LiveData来更新UI UI controllers 中的UI写成数据驱动的,也就是UI controller需要做的只有当数据变 阅读全文
posted @ 2017-07-18 11:58 DevLi 阅读(223) 评论(0) 推荐(0) 编辑