Created
May 23, 2018 20:57
-
-
Save javipacheco/72c3e70865da6a7a06c46c5427b352cf to your computer and use it in GitHub Desktop.
Notifications
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 Notifications() { | |
// Main | |
data class NewsGetItemsNotification(val ex: Throwable) : Notifications() | |
// Navigation | |
data class NavigationNotification(val ex: Throwable) : Notifications() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment