tripkit-android / com.skedgo.tripkit.ui.timetables / ServiceViewModel

ServiceViewModel

abstract class ServiceViewModel :RxViewModel

Constructors

Name Summary
<init> ServiceViewModel()

Properties

Name Summary
alpha abstract val alpha: ObservableFloat
countDownTimeText abstract val countDownTimeText: ObservableField<String>
countDownTimeTextBack abstract val countDownTimeTextBack: ObservableField<Drawable>
dateTimeZone abstract var dateTimeZone: DateTimeZone
modeInfo abstract val modeInfo: ObservableField<ModeInfo>
occupancyViewModel abstract val occupancyViewModel:OccupancyViewModel
onAlertsClick abstract val onAlertsClick:TapAction<ArrayList<RealtimeAlert>>
onItemClick abstract val onItemClick:TapAction<TimetableEntry>
secondaryText abstract val secondaryText: ObservableField<String>
secondaryTextColor abstract val secondaryTextColor: ObservableInt
service abstract var service:TimetableEntry
serviceAlertViewModel abstract val serviceAlertViewModel:ServiceAlertViewModel
serviceColor abstract val serviceColor: ObservableInt
serviceNumber abstract val serviceNumber: ObservableField<String>
showOccupancyInfo abstract val showOccupancyInfo: ObservableBoolean
tertiaryText abstract val tertiaryText: ObservableField<String>
wheelchairIcon abstract val wheelchairIcon: ObservableField<Drawable?>
wheelchairTint abstract val wheelchairTint: ObservableField<Int>

Functions

Name Summary
getRealTimeDeparture abstract fun getRealTimeDeparture():Long
setService abstract fun setService(_service:TimetableEntry, _dateTimeZone: DateTimeZone):Unit