Skip to content

Instantly share code, notes, and snippets.

@RohitSurwase
Created March 25, 2020 13:54
Show Gist options
  • Save RohitSurwase/54c1eef08495045ae9e150f070271c34 to your computer and use it in GitHub Desktop.
Save RohitSurwase/54c1eef08495045ae9e150f070271c34 to your computer and use it in GitHub Desktop.
ViewEffect example
sealed class MainViewEffect {
data class ShowSnackbar(val message: String) : MainViewEffect()
data class ShowToast(val message: String) : MainViewEffect()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment