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

SimpleViewActivityStep

[androidJvm]
class SimpleViewActivityStep(id: String, name: String, model: SimpleViewActivityModel, view: View<SimpleViewActivityModel> = SimpleActivityView()) : Step<SimpleViewActivityModel, Unit>

Constructors

SimpleViewActivityStep

[androidJvm]
fun SimpleViewActivityStep(id: String, name: String, model: SimpleViewActivityModel, view: View<SimpleViewActivityModel> = SimpleActivityView())

Functions

Name Summary
getState

[androidJvm]
fun getState(): SimpleViewActivityModel
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: SimpleViewActivityModel
data object for UI & state management

name

[androidJvm]
val name: String
name

result

[androidJvm]
var result: Unit

view

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