Loading

data object Loading : UiState<Nothing> (source)

Data has not yet arrived.

Functions

Link copied to clipboard
fun <T> UiState<T>.dataOrNull(): T?

Returns the Content data, or null if this state is Loading or Error.