Package-level declarations
Functions
Link copied to clipboard
A Composable function that retrieves a system service of type T.
Link copied to clipboard
fun <T> ObserveAsEvents(flow: Flow<T>, key1: Any? = null, key2: Any? = null, minActiveState: Lifecycle.State = Lifecycle.State.STARTED, onEvent: (T) -> Unit)
Observes a Flow and executes the onEvent callback for each emitted value in a lifecycle-aware manner.
Link copied to clipboard
fun <T> Flow<T>.ObserveAsEvents(key1: Any? = null, key2: Any? = null, minActiveState: Lifecycle.State = Lifecycle.State.STARTED, onEvent: (T) -> Unit)
Extension function variant of ObserveAsEvents for convenient fluent syntax.
Link copied to clipboard
Remembers and retrieves a required Android system service of type T.
Link copied to clipboard
Remembers and retrieves an optional Android system service of type T, returning null if the service is unavailable on the device.
Link copied to clipboard
Link copied to clipboard
fun ScrollableNumber(modifier: Modifier = Modifier, initialValue: Int = 50, range: IntRange = 0..99, stepSize: Int = 1, onValueChange: (Int) -> Unit)
A composable function that displays a scrollable list of numbers. The user can scroll through the numbers, and the selected number will be highlighted.