tripkit-android / com.skedgo.tripkit.ui.trip.details.viewmodel / ServiceAlertViewModel

ServiceAlertViewModel

open class ServiceAlertViewModel

Constructors

Name Summary
<init> ServiceAlertViewModel(context: Context)

Properties

Name Summary
alertIcon val alertIcon: ObservableField<Drawable?>
hasAlerts val hasAlerts: ObservableBoolean
showAlertsObservable open val showAlertsObservable: Observable<Unit>
title val title: ObservableField<String>

Functions

Name Summary
onShow fun onShow():Unit
setAlerts open fun setAlerts(alerts:List<RealtimeAlert>?):Unit