Kit > healthstack.kit.task.activity.step.common > SimpleTimerActivityStep

SimpleTimerActivityStep

[androidJvm]
class SimpleTimerActivityStep(id: String, name: String, model: SimpleTimerActivityModel, view: View<SimpleTimerActivityModel> = SimpleTimerActivityView()) : Step<SimpleTimerActivityModel, Unit>

Constructors

SimpleTimerActivityStep

[androidJvm]
fun SimpleTimerActivityStep(id: String, name: String, model: SimpleTimerActivityModel, view: View<SimpleTimerActivityModel> = SimpleTimerActivityView())

Functions

Name Summary
getState

[androidJvm]
fun getState(): SimpleTimerActivityModel
A method for getting state of Step.

Render

[androidJvm]
@Composable
open override fun Render(callbackCollection: CallbackCollection)
A method for rendering UI.

Properties

Name Summary
id

[androidJvm]
val id: String
id

model

[androidJvm]
val model: SimpleTimerActivityModel
data object for UI & state management

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Unit

view

[androidJvm]
val view: View<SimpleTimerActivityModel>
view object holding UI method