TtiviVpaImageWithTextViewModel

class TtiviVpaImageWithTextViewModel(val imageSource: DrawableResolver? = null, val bodyText: String? = null)

A ViewModel which can be used to populate a VPA UI element with an image and/or text.

Constructors

Link copied to clipboard
fun TtiviVpaImageWithTextViewModel(imageSource: DrawableResolver? = null, bodyText: String? = null)

Properties

Link copied to clipboard
val bodyText: String? = null

The text to be displayed.

Link copied to clipboard
val imageSource: DrawableResolver? = null

The image to be displayed.