LifecycleManagerObserver
A ActivityLifecycleSubscribable that provides ActivityLifecycleSubscribable.manager as a StateFlow
Properties
The current LifecycleManager subscribed to this LifecycleSubscribable
A StateFlow of the current manager
Functions
Subscribes a LifecycleManager to this LifecycleSubscribable. Called on Lifecycle.Event.ON_CREATE
Convenience method to subscribe an AppCompatActivity to this ActivityLifecycleSubscribable using its default LifecycleOwner and FragmentManager.
Convenience method to subscribe a Fragment to this ActivityLifecycleSubscribable using its default LifecycleOwner and FragmentManagers.
Subscribes a LifecycleOwner to this ActivityLifecycleSubscribable.
Unsubscribes the current LifecycleManager from this LifecycleSubscribable. Called on Lifecycle.Event.ON_DESTROY