destroy

abstract fun destroy()

Moves the lifecycle owner to the destroyed state. May not be called from the Lifecycle.State.INITIALIZED state.