tripkit-android / com.skedgo.tripkit.ui.map.servicestop / ServiceStopMapViewModel

ServiceStopMapViewModel

class ServiceStopMapViewModel :RxViewModel

Constructors

Name Summary
<init> ServiceStopMapViewModel(context: Context, fetchAndLoadServices:FetchAndLoadServices, regionService:RegionService, getStopDisplayText:GetStopDisplayText)

Properties

Name Summary
context val context: Context
drawServiceLine val drawServiceLine: Observable<MutableList<PolylineOptions!>!>
drawStops val drawStops: Observable<Pair<List<Pair<MarkerOptions,String!>>,Set<String>>!>
fetchAndLoadServices val fetchAndLoadServices:FetchAndLoadServices
getStopDisplayText val getStopDisplayText:GetStopDisplayText
realtimeVehicle val realtimeVehicle: Observable<Optional<RealTimeVehicle>!>
realtimeViewModel lateinit var realtimeViewModel:RealTimeChoreographerViewModel
region val region: Observable<Region!>
regionService val regionService:RegionService
service val service: BehaviorRelay<TimetableEntry!>
serviceStopMarkerCreator lateinit var serviceStopMarkerCreator:ServiceStopMarkerCreator
stop val stop: BehaviorRelay<ScheduledStop!>
viewPort val viewPort: Observable<List<LatLng>!>