DestructibleLifecycleOwner
A lifecycle owner that can be destroyed.
Destruction is unrecoverable and will move the state to Lifecycle.State.DESTROYED.
Inheritors
Functions
Link copied to clipboard
Moves the lifecycle owner to the destroyed state. May not be called from the Lifecycle.State.INITIALIZED state.
Inherited functions
Link copied to clipboard
Creates a new LifecycleOwner that limits the state of this LifecycleOwner to Lifecycle.State.CREATED if the view is detached.