UiState
constructor(data: T, loading: Boolean = false, error: OneTimeEvent<Throwable?> = OneTimeEvent(null))
Type Parameters
T
The type of the screen data. Must be a non-nullable type.
The type of the screen data. Must be a non-nullable type.