/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.model/StopInfo
StopInfo
\ data class StopInfo(val id: Int, val realTimeStatus: RealTimeStatus?, val sortByArrive: Boolean, val stop: ServiceStop, val serviceColor: Int, var travelled: Boolean)
Thuy's remark: This should have been ServiceStop. We parse network response into ServiceStops, then persist them into SQLite database. However, when loading, we use such StopInfo to indicate service' stops.
Constructors
StopInfo | constructor(id: Int, realTimeStatus: RealTimeStatus?, sortByArrive: Boolean, stop: ServiceStop, serviceColor: Int, travelled: Boolean) |
Properties
Name | Summary |
---|---|
id | val id: Int |
realTimeStatus | val realTimeStatus: RealTimeStatus? |
serviceColor | val serviceColor: Int |
sortByArrive | val sortByArrive: Boolean |
stop | val stop: ServiceStop |
travelled | var travelled: Boolean |