KalugaViewModelLifecycleObserver
class KalugaViewModelLifecycleObserver<ViewModel : BaseLifecycleViewModel> : DefaultLifecycleObserver
LifecycleObserver used to manage the lifecycle of a BaseLifecycleViewModel
Parameters
viewModel
The BaseLifecycleViewModel whose lifecycle is managed
activity
The Activity managing the lifecycle
fragmentManager
The FragmentManager for this lifecycle