Kit > healthstack.kit.task.onboarding.model > IntroModel

IntroModel

[androidJvm]
open class IntroModel(val id: String, val title: String, val drawableId: Int? = R.drawable.sample_image_alpha4, val logoDrawableId: Int? = null, val summaries: List<Pair<Int, String>>? = null, val sections: List<IntroModel.IntroSection>) : StepModel

Constructors

IntroModel

[androidJvm]
fun IntroModel(id: String, title: String, drawableId: Int? = R.drawable.sample_image_alpha4, logoDrawableId: Int? = null, summaries: List<Pair<Int, String>>? = null, sections: List<IntroModel.IntroSection>)

Types

Name Summary
IntroSection

[androidJvm]
data class IntroSection(val subTitle: String, val description: String)

Properties

Name Summary
drawableId

[androidJvm]
val drawableId: Int?
a representative image for UI

id

[androidJvm]
val id: String
id

logoDrawableId

[androidJvm]
val logoDrawableId: Int? = null

sections

[androidJvm]
val sections: List<IntroModel.IntroSection>

summaries

[androidJvm]
val summaries: List<Pair<Int, String>>? = null

title

[androidJvm]
val title: String
a title of UI