Documentation / dataflow / com.femastudios.dataflow.listen / BaseLifecycleOwner / destroy
Go to reference

destroy

fun destroy(): Unit

Destroys this LifecycleOwner. Destroys all attached listeners. As a consequence, no listeners will be attached to this LifecycleOwner.

Future calls to start or listen will result to a crash.