Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created February 5, 2022 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GuilhE/dedae82684cb14bf4b066db3c524d443 to your computer and use it in GitHub Desktop.
Save GuilhE/dedae82684cb14bf4b066db3c524d443 to your computer and use it in GitHub Desktop.
Medium articles - MVI+FSM
data class TimerUiState(
val value: Int = 0, //in seconds
val progress: Float = 0f, //0-100
val isSettingTimer: Boolean = false,
val isCountingDown: Boolean = false,
val isRestarting: Boolean = false
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment