-
-
Save uteke/4f9def19995cde20f902216a42a51ce8 to your computer and use it in GitHub Desktop.
Flat view state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class ViewState( | |
val isLoaderVisible: Boolean = false, | |
val isEmptyVisible: Boolean = false, | |
val isUserListVisible: Boolean = false, | |
val users: List<UserState> = emptyList(), | |
val isErrorVisible: Boolean = false, | |
val errorMessage: String = "", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment