LifecycleViewModel
A ViewModel with a LifecycleOwner, allowing it to easily bind to lifecycle dependent components such as LiveData.
Inherited functions
Link copied to clipboard
Link copied to clipboard
Creates a new LifecycleOwner that limits the state of this LifecycleOwner to Lifecycle.State.CREATED if the view is detached.