TtiviEvChargingChargingPointListItemViewModel

class TtiviEvChargingChargingPointListItemViewModel(val connectorImage: DrawableResolver? = null, val connectorName: StringResolver? = null, val connectorType: StringResolver? = null, val connectorPower: StringResolver? = null, val chargingUnitCost: StringResolver? = null, val approximateChargingTime: TtInformationControlViewModel? = null, val onClick: () -> Unit? = null)

A ViewModel which is used to populate an item in charging point list in the EV charging modal panel.

Constructors

fun TtiviEvChargingChargingPointListItemViewModel(connectorImage: DrawableResolver? = null, connectorName: StringResolver? = null, connectorType: StringResolver? = null, connectorPower: StringResolver? = null, chargingUnitCost: StringResolver? = null, approximateChargingTime: TtInformationControlViewModel? = null, onClick: () -> Unit? = null)

Properties

Link copied to clipboard

Indicates the view model associated with approximate remaining charging time.

Link copied to clipboard

Indicates the unit charging cost of a charger.

Link copied to clipboard

The image of the charger connector type.

Link copied to clipboard

The name of the charger connector type.

Link copied to clipboard

Indicates the maximum power of the charger.

Link copied to clipboard

The display name of the charger connector type.

Link copied to clipboard
val onClick: () -> Unit? = null

Callback on layout click.