Package-level declarations

Functions

Link copied to clipboard
fun <T, R, LOCALIZER : PolyglotReferenceValueLocalizer<T, R>> LOCALIZER.localize(value: T, 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): R

Utility function that collects the values from this LOCALIZER in a lifecycle-aware manner.

Link copied to clipboard

Remembers the localizer from the given options.

Remembers the localizer computed from the given options, passed to localizerFactory and returned by it.