Created
September 10, 2017 10:18
-
-
Save charlag/d31fd871f9093640f30ba3a188190556 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
private sealed class Event { | |
data class TodoCheckedEvent(val id: Long, val completed: Boolean) : Event() | |
data class NewTodoEvent(val text: String) : Event() | |
data class DbUpdateEvent(val todos: List<TodoEntity>) : Event() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment