Created
May 29, 2019 08:55
-
-
Save lucanicoletti/355ea66af341eee7dc9cf3111feeead9 to your computer and use it in GitHub Desktop.
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
sealed class MVIViewState { | |
object Loading: MVIViewState() | |
class Error(val reason: String): MVIViewState() | |
class Success(val result: String): MVIViewState() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment