Package-level declarations

Types

Link copied to clipboard
sealed interface GetString

A sealed interface for representing a string that can be retrieved in different ways. This is useful for decoupling UI components from how strings are sourced, whether they come from a remote API (ApiString) or from local Android string resources (StringResource).

Link copied to clipboard

Utility object for accessing and reading resources from the classpath.

Functions

Link copied to clipboard

Closes the virtual keyboard.

Link copied to clipboard

Checks if the lazy list is scrolled to the top.

Link copied to clipboard

Checks if the LazyList is scrolled to the end.

Link copied to clipboard

Executes the given composable block if the State is State.Failure. The Throwable associated with the failure is passed to the block.

Link copied to clipboard
fun <T> State<T>.onIdle(block: @Composable () -> Unit)

Executes the given composable block if the State is State.Idle.

Link copied to clipboard
fun <T> State<T>.onLoading(block: @Composable () -> Unit)

Executes the given composable block if the State is State.Loading.

Link copied to clipboard
fun <T> State<T>.onSuccess(block: @Composable (T) -> Unit)

Executes the given composable block if the State is State.Success. The block will receive the data from the State.Success as its parameter.