Documentation / dataflow / com.femastudios.dataflow.listen / MapLifecycleOwner / attachToLifecycle
Go to reference
Go to reference
attachToLifecycle
open fun attachToLifecycle(key: Any, listenerHolder: ListenerHolder<*>): ListenerHolder<*>?
Attaches the given ListenerHolder to the lifecycle of this object Detaches and returns the previous ListenerHolder attached under key