tripkit-android / com.skedgo.tripkit.ui.model / StopInfo
StopInfo
open class StopInfo
Thuy's remark: This should have been [`ServiceStop`](../../com.skedgo.tripkit.common.model/-service-stop/index.md). We parse network response into ServiceStops, then persist them into SQLite database. However, when loading, we use such
StopInfo
to indicate service' stops.
Constructors
Name | Summary |
---|---|
<init> | StopInfo(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 |