Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ViewEvent example
sealed class MainViewEvent {
data class NewsItemClicked(val newsItem: NewsItem) : MainViewEvent()
object FabClicked : MainViewEvent()
object OnSwipeRefresh : MainViewEvent()
object FetchNews : MainViewEvent()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment