/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.data/CursorToServiceConverter
CursorToServiceConverter
\ class CursorToServiceConverter@Injectconstructor(gson: Gson) : CursorToEntityConverter<TimetableEntry>
Constructors
| CursorToServiceConverter | @Inject constructor(gson: Gson) |
Types
| Name | Summary |
|---|---|
| ServiceColumnIndices | class ServiceColumnIndices NOTE: Don't hard code column indices |
Properties
| Name | Summary |
|---|---|
| bicycleAccessible | val bicycleAccessible: Boolean? |
| endStopCode | val endStopCode: String |
| endTimeInSecs | val endTimeInSecs: Long |
| frequency | val frequency: Int |
| id | val id: Long |
| isFavourite | val isFavourite: Boolean |
| mode | val mode: VehicleMode? |
| pairIdentifier | val pairIdentifier: String |
| realTimeStatus | val realTimeStatus: RealTimeStatus? |
| searchString | val searchString: String |
| serviceColorBlue | val serviceColorBlue: Int |
| serviceColorGreen | val serviceColorGreen: Int |
| serviceColorRed | val serviceColorRed: Int |
| serviceName | val serviceName: String |
| serviceNumber | val serviceNumber: String |
| serviceOperator | val serviceOperator: String |
| serviceTime | val serviceTime: Long |
| serviceTripId | val serviceTripId: String |
| startStopShortName | val startStopShortName: String |
| startTimeInSecs | val startTimeInSecs: Long |
| stopCode | val stopCode: String |
| wheelchairAccessible | val wheelchairAccessible: Boolean? |
Functions
| Name | Summary |
|---|---|
| apply | open override fun apply(cursor: Cursor): TimetableEntry |
| setCursor | fun setCursor(cursor: Cursor) |