会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stdrush
博客园
首页
新随笔
联系
订阅
管理
今日总结:关于setLifecycleOwner(this)的方法
setLifecycleOwner(this):方法,
如果不绑定生命周期那么DataBinding无法感知LiveData的变化,这样会导致ui无法跟着数据一同改变。
posted @
2022-04-29 21:58
stdrush
阅读(
675
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告