Composable Lifecycle Observer
interface ComposableLifecycleObserver
An interface for observing lifecycle events of a LifecycleOwner.
All methods provide default empty implementations so implementers can selectively override only the callbacks they need.
Functions
Link copied to clipboard
Called whenever any lifecycle event occurs.
Link copied to clipboard
Called after the LifecycleOwner's onCreate event completes.
Link copied to clipboard
Called when the LifecycleOwner is being destroyed (ON_DESTROY).
Link copied to clipboard
Called when the LifecycleOwner is paused (ON_PAUSE).
Link copied to clipboard
Called when the LifecycleOwner becomes visible and interactive (ON_RESUME).
Link copied to clipboard
Called when the LifecycleOwner transitions to the STARTED state.
Link copied to clipboard
Called when the LifecycleOwner is no longer visible (ON_STOP).