Created
March 25, 2020 13:54
-
-
Save RohitSurwase/54c1eef08495045ae9e150f070271c34 to your computer and use it in GitHub Desktop.
ViewEffect example
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 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