Kit > healthstack.kit.task.survey.question.component

Package healthstack.kit.task.survey.question.component

Types

Name Summary
ChoiceQuestionComponent

[androidJvm]
class ChoiceQuestionComponent<T : ChoiceQuestionModel<*>> : QuestionComponent<T>

Component

[androidJvm]
abstract class Component<T : QuestionModel<*>>
A UI rendering object for SubStep such as healthstack.kit.step.sub.QuestionSubStep.

DateTimeQuestionComponent

[androidJvm]
class DateTimeQuestionComponent : QuestionComponent<DateTimeQuestionModel>

ImageQuestionComponent

[androidJvm]
class ImageQuestionComponent : QuestionComponent<ImageChoiceQuestionModel>

MultiChoiceQuestionComponent

[androidJvm]
class MultiChoiceQuestionComponent : QuestionComponent<MultiChoiceQuestionModel>

QuestionComponent

[androidJvm]
abstract class QuestionComponent<T : QuestionModel<*>> : Component<T>

RankingQuestionComponent

[androidJvm]
class RankingQuestionComponent : QuestionComponent<RankingQuestionModel>

ResultObject

[androidJvm]
data class ResultObject(val startTime: String = "", val endTime: String = "", val startDate: String = "", val endDate: String = "")

TextInputQuestionComponent

[androidJvm]
class TextInputQuestionComponent : QuestionComponent<TextInputQuestionModel>

Functions

Name Summary
DropdownPreview

[androidJvm]
@PreviewGenerated
@Preview(showBackground = true)
@Composable
fun DropdownPreview()

RadioGroup

[androidJvm]
@Composable
fun RadioGroup(choiceQuestion: ChoiceQuestionModel<*>, modifier: Modifier)

RadioPreview

[androidJvm]
@PreviewGenerated
@Preview(showBackground = true)
@Composable
fun RadioPreview()

SliderPreview

[androidJvm]
@PreviewGenerated
@Preview(showBackground = true)
@Composable
fun SliderPreview()