Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sealed class MVIViewState {
object Loading: MVIViewState()
class Error(val reason: String): MVIViewState()
class Success(val result: String): MVIViewState()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment