Package-level declarations

Functions

Link copied to clipboard
fun KwikComposableLifeCycle(onResume: () -> Unit = {}, onPause: () -> Unit = {}, onStarted: () -> Unit = {})

Helper component to observe the lifecycle of the current LifecycleOwner and call the provided onResume and onPause callbacks when the lifecycle events occur. This is useful for components that need to perform actions when the Composable is resumed or paused.