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

destroy

abstract fun destroy(): Unit

Stops the listener, and detaches it from the LifecycleOwner. Once destroyed, the ListenerHolder cannot be started again

See Also

stop

LifecycleOwner.detachFromLifecycle