Package-level declarations
Types
Default LifecycleViewModel implementation respecting the Lifecycle of the presenting view.
Convenience AppCompatActivity that is bound to a LifecycleViewModel
Convenience BottomSheetDialogFragment that is bound to a LifecycleViewModel
Convenience DialogFragment that is bound to a LifecycleViewModel
Convenience Fragment that is bound to a LifecycleViewModel
LifecycleObserver used to manage the lifecycle of a BaseLifecycleViewModel
Holds the lifecycle of a BaseLifecycleViewModel. A single lifecycle starts at UIViewController.viewDidAppear and ends at UIViewController.viewDidDisappear of the bound UIViewController This convenience class is the result of BaseLifecycleViewModel.addLifecycleManager. Invoke unbind to unbind the Lifecycle from its bound UIViewController
Simple ViewModel class that is to be bound to a View lifecycle
Simple ViewModel class that is to be bound to a View lifecycle
Simple ViewModel class that is to be bound to a View lifecycle
Simple ViewModel class that is to be bound to a View lifecycle
Simple ViewModel class that is to be bound to a View lifecycle
Default LifecycleViewModel allowing navigation.
Callback invoked at the start of a lifecycle (corresponding to UIViewController.viewDidAppear of the bound ViewController. Returns a List Disposable that are cleaned automatically at the end of each lifecycle.
Functions
Adds a manager to automatically bind the LifecycleManager of a BaseLifecycleViewModel to a UIViewController. This is achieved by adding an invisible child UIViewController.
Binds an AppCompatActivity to the LifecycleViewModel to manage the viewmodel lifecycle.
Binds a Fragment to the LifecycleViewModel to manage the viewmodel lifecycle