Package-level declarations
Functions
Link copied to clipboard
fun <T> TickingValueProvider<T>.collectWithLifecycle(lifecycleOwner: LifecycleOwner = LocalLifecycleOwner.current, minActiveState: Lifecycle.State = Lifecycle.State.STARTED, clock: ClockWrapper = SYSTEM_CLOCK.collectAsStateWithLifecycle(lifecycleOwner, minActiveState).value, timeZone: TimeZone = SYSTEM_TIMEZONE.collectAsStateWithLifecycle(lifecycleOwner, minActiveState).value, maxTick: Duration? = null): T
Collects and returns values from TickingValueProvider in a lifecycle-aware manner.