DataState
Properties
Functions
Link copied to clipboard
inline fun <T> DataState<T>.UiStates(loading: @Composable () -> Unit, failure: @Composable (error: Throwable?) -> Unit, content: @Composable (content: T, loading: Boolean, error: Throwable?) -> Unit)
Composable function to render the different states of a DataState object.