/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.timetables/ServiceViewModel
ServiceViewModel
\ abstract class ServiceViewModel : RxViewModel
Constructors
ServiceViewModel | constructor() |
Properties
Functions
Name | Summary |
---|---|
autoClear | fun <T> Observable<T>.autoClear(): Observable<T> fun Disposable.autoClear() |
getRealTimeDeparture | abstract fun getRealTimeDeparture(): Long |
onCleared | open override fun onCleared() This method will be called when this ViewModel is no longer used and will be destroyed. |
setService | abstract fun setService(_currentTripId: String, _service: TimetableEntry, _dateTimeZone: DateTimeZone) |