/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.trippreview.segment/TripSegmentSummaryItemViewModel

TripSegmentSummaryItemViewModel

\ class TripSegmentSummaryItemViewModel : ViewModel

Moved from com.skedgo.tripkit.ui.trippreview.TripPreviewHeaderViewModel and renamed from TripPreviewHeaderItemViewModel to TripSegmentSummaryItemViewModel since it'll be generic and will not only be used on the preview header feature

Constructors

TripSegmentSummaryItemViewModel constructor()

Types

Name Summary
Companion object Companion

Properties

Name Summary
description val description: MutableLiveData<String?>
icon val icon: MutableLiveData<Drawable?>
id val id: MutableLiveData<Long?>
isMirrored val isMirrored: MutableLiveData<Boolean>
itemClick val itemClick: TapStateFlow<TripSegmentSummaryItemViewModel>
modeId val modeId: MutableLiveData<String?>
selected val selected: MutableLiveData<Boolean>
subTitle val subTitle: MutableLiveData<String>
title val title: MutableLiveData<String>