index.md 1.8 KB

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

Package-level declarations

Functions

Name Summary
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)
rememberLifeCycleHandler [androidJvm]
@Composable
fun rememberLifeCycleHandler(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current, onEvent: (Lifecycle.Event) -> Unit)