Package-level declarations

Types

Link copied to clipboard
class ExpiringValueWrapper<T : Any>(valueGetter: suspend () -> Pair<T, LocalDateTime>)

A wrapper around a value of type T that caches it until expiration time hasn't come and then recalculates using valueGetter

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun LocalDateTime.Companion.beforeNow(duration: Duration): LocalDateTime
Link copied to clipboard
fun NavGraphBuilder.composable(navRouter: NavRouter, arguments: List<NamedNavArgument> = emptyList(), deepLinks: List<NavDeepLink> = emptyList(), content: @Composable (NavBackStackEntry) -> Unit)
Link copied to clipboard

Utility method to enable constructions like

Link copied to clipboard

Dummy birthdate validation.

Link copied to clipboard
Link copied to clipboard
fun NavHostController.navigate(navRouter: NavRouter, navOptions: NavOptions? = null, navigatorExtras: Navigator.Extras? = null)
Link copied to clipboard
fun LocalDateTime.Companion.now(): LocalDateTime
Link copied to clipboard
fun LocalDate.Companion.parseFromDotFormat(dotFormattedDateString: String): LocalDate

Parse dotFormattedDateString into LocalDate.

Link copied to clipboard
Link copied to clipboard
fun <T : Any> withDebounce(delayDuration: Duration, scope: CoroutineScope, destinationFunction: suspend (T) -> Unit): (T) -> Unit
Link copied to clipboard
fun <T : Any> withLoading(value: T?, content: @Composable (T) -> Unit)

Shows CircularProgressIndicator if value is null, content otherwise