tripkit-android / com.skedgo.tripkit.ui.map / TripResultMapViewModel

TripResultMapViewModel

class TripResultMapViewModel :RxViewModel

Properties

Name Summary
alertMarkerViewModels val alertMarkerViewModels: Observable<List<AlertMarkerViewModel>>
nonTravelledStopMarkerViewModels val nonTravelledStopMarkerViewModels: Observable<List<StopMarkerViewModel>>
segments val segments: Observable<List<TripSegment>>
travelledStopMarkerViewModels val travelledStopMarkerViewModels: Observable<List<StopMarkerViewModel>>
tripCameraUpdate val tripCameraUpdate: Observable<MapCameraUpdate>
vehicleMarkerViewModels val vehicleMarkerViewModels: Observable<List<VehicleMarkerViewModel>>

Functions

Name Summary
getCameraUpdate fun getCameraUpdate(): CameraUpdate?
onTripSegmentTapped fun onTripSegmentTapped(): Observable<Pair<CameraUpdate,Long>>
setTripGroupId fun setTripGroupId(tripGroupId:String):Unit