Index
net / com.drake.net.utils / androidx.lifecycle.ViewModelStoreOwner
Extensions for androidx.lifecycle.ViewModelStoreOwner¶
Name | Summary |
---|---|
getViewModel | 返回当前组件指定的ViewModelfun <M : ViewModel> ViewModelStoreOwner.getViewModel(): M |
net / com.drake.net.utils / androidx.lifecycle.ViewModelStoreOwner
Name | Summary |
---|---|
getViewModel | 返回当前组件指定的ViewModelfun <M : ViewModel> ViewModelStoreOwner.getViewModel(): M |