TtiviEvChargingMessageViewModel

class TtiviEvChargingMessageViewModel(val message: StringResolver?, val image: DrawableResolver? = null, val isImageAnimated: Boolean = false)

A ViewModel which can be used to populate Ev Charging modal panel with a text and/or an image.

Constructors

Link copied to clipboard
fun TtiviEvChargingMessageViewModel(message: StringResolver?, image: DrawableResolver? = null, isImageAnimated: Boolean = false)

Properties

Link copied to clipboard
val image: DrawableResolver? = null

The image to be displayed.

Link copied to clipboard

Indicates whether the image is animated and uses stateListAnimator for animation.

Link copied to clipboard

The text content to be displayed.