BaseLifecycleViewModel
open class BaseLifecycleViewModel(lifecycleSubscribables: LifecycleSubscribable) : LifecycleViewModel
Default LifecycleViewModel implementation respecting the Lifecycle of the presenting view.
Parameters
lifecycleSubscribables
The LifecycleSubscribable to be used by this viewModel.
Inheritors
Properties
Link copied to clipboard
A StateFlow of the set of LifecycleSubscribable that are currently in use. Hook up your lifecycle to these LifecycleSubscribables where required.
Link copied to clipboard
CoroutineScope of the ViewModel. This scope is active until the ViewModel lifecycle is cleared.