Skip to content

Instantly share code, notes, and snippets.

@sanogueralorenzo
Last active February 8, 2020 11:55
Show Gist options
  • Save sanogueralorenzo/24d235c5f6d3efad3d2deab8daf9d182 to your computer and use it in GitHub Desktop.
Save sanogueralorenzo/24d235c5f6d3efad3d2deab8daf9d182 to your computer and use it in GitHub Desktop.
data class Resource<out T> constructor(
val state: ResourceState,
val data: T? = null,
val message: String? = null
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment