Created
September 11, 2019 00:36
-
-
Save uziassantosferreira/edea00f577f165dc81ba5061de83bb0a to your computer and use it in GitHub Desktop.
SimpleScreenState
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 SimpleScreenState { | |
object Loading : SimpleScreenState() | |
object GenericError : SimpleScreenState() | |
object NetworkError : SimpleScreenState() | |
object EmptyState : SimpleScreenState() | |
data class Content<T>(val data: T) : SimpleScreenState() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment