tripkit-android / com.skedgo.tripkit.ui.timetables.domain / TimetableLoaderFactory
TimetableLoaderFactory
class TimetableLoaderFactory
Constructors
Name | Summary |
---|---|
<init> | TimetableLoaderFactory() |
Functions
Name | Summary |
---|---|
createForSegment | Creates a loader which is used to load A2B timetable from database.fun createForSegment(context: Context, pairIdentifier: String , sinceSecs: Long ): CursorLoader |
Companion Object Functions
Name | Summary |
---|---|
buildQueryParams | fun buildQueryParams(stopCodes: List < String >, sinceSecs: Long ): TimetableQueryParams fun buildQueryParams(stop: ScheduledStop , filter: String ?, sinceSecs: Long ): TimetableQueryParams |
createForStop | fun createForStop(appContext: Context, stop: ScheduledStop , filter: String ?, sinceSecs: Long ): Loader<Cursor> |