-
-
Save GuilhE/3470628f3b4a6a83264a35645dd655f4 to your computer and use it in GitHub Desktop.
Medium articles - MVI+FSM
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 Event { | |
object OnSetTimer : Event() | |
class OnTimerSet(val value: Int) : Event() | |
object OnStart : Event() | |
object OnFinish : Event() | |
object OnPause : Event() | |
object OnStop : Event() | |
object OnReset : Event() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment