Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class StopwatchFormula : Formula<Unit, StopwatchFormula.State, StopwatchRenderModel> {
- data class State(
- val isRunning: Boolean
- )
- override fun initialState(input: Unit): State = State(
- isRunning = false
- )
- ....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement