Created
November 13, 2020 07:33
-
-
Save burakiren/63c3b67f8773ae65ad70171b78175677 to your computer and use it in GitHub Desktop.
MVI - ExampleViewState
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 ExampleViewState( | |
val isPageLoading: Boolean = false, | |
val isPullToRefresh: Boolean = false, | |
val userData: User? = null, | |
val error: Throwable? = null | |
) { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment