Skip to content

Instantly share code, notes, and snippets.

@VictorAlbertos
Last active November 17, 2020 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VictorAlbertos/95c54472a09569123e1b95fc9b53777f to your computer and use it in GitHub Desktop.
Save VictorAlbertos/95c54472a09569123e1b95fc9b53777f to your computer and use it in GitHub Desktop.
sealed class SampleViewEvents {
data class Edit(val sampleEntity: SampleEntity) : SampleViewEvents()
data class Remove(val sampleEntity: SampleEntity) : SampleViewEvents()
object InsertItemHeader : SampleViewEvents()
object InsertItemFooter : SampleViewEvents()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment