Skip to content

Instantly share code, notes, and snippets.

@sanogueralorenzo
Last active February 8, 2020 11:55
Show Gist options
  • Save sanogueralorenzo/743749ae140d5b4bcb62523362faede1 to your computer and use it in GitHub Desktop.
Save sanogueralorenzo/743749ae140d5b4bcb62523362faede1 to your computer and use it in GitHub Desktop.
sealed class ResourceState {
object LOADING : ResourceState()
object SUCCESS : ResourceState()
object ERROR : ResourceState()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment