/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.trip.details.viewmodel/ServiceAlertViewModel
ServiceAlertViewModel
\ open class ServiceAlertViewModel@Injectconstructor(context: Context)
Constructors
ServiceAlertViewModel | @Inject constructor(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() |
setAlerts | open fun setAlerts(alerts: List<RealtimeAlert>?) |