Skip to content

disposable effect with lifecycle

milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.helpers.lifecycle/DisposableEffectWithLifecycle

DisposableEffectWithLifecycle

[androidJvm]\

@Composable

fun DisposableEffectWithLifecycle(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current, onCreate: () -> Unit? = null, onStart: () -> Unit? = null, onStop: () -> Unit? = null, onResume: () -> Unit? = null, onPause: () -> Unit? = null, onDestroy: () -> Unit? = null)

Clone this wiki locally