Android生成ViewModel实例的几种方式

private val viewModel: MyViewModel by viewModels()

 

posted @   呢哇哦比较  阅读(4)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示