on Any
Called whenever any lifecycle event occurs.
Parameters
lifecycle Owner
The LifecycleOwner whose state has changed.
event
The specific Lifecycle.Event that occurred.
Called whenever any lifecycle event occurs.
The LifecycleOwner whose state has changed.
The specific Lifecycle.Event that occurred.