tripkit-android / com.skedgo.tripkit.ui.timetables.domain / TimetableLoaderFactory / createForSegment

createForSegment

fun createForSegment(context: Context, pairIdentifier:String, sinceSecs:Long): CursorLoader

Creates a loader which is used to load A2B timetable from database.

Parameters

segment - Should be a public transport segment (aka scheduled segment)