Package-level declarations

Types

Link copied to clipboard

An interface for observing lifecycle events of a LifecycleOwner.

Functions

Link copied to clipboard

A Composable function that observes lifecycle events and invokes the corresponding methods on the provided ILifecycleEventObserver.

Link copied to clipboard
fun ListenToComposableLifecycle(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current, onEvent: (LifecycleOwner, Lifecycle.Event) -> Unit)

Observes the lifecycle of a Composable function.

Link copied to clipboard
fun rememberLifecycleEvent(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current): Lifecycle.Event

Remembers the current lifecycle event and updates it as the lifecycle changes.

Link copied to clipboard
fun RememberTest(modifier: Modifier = Modifier)