tripkit-android / com.skedgo.tripkit.ui.timetables / TimetableFragment

TimetableFragment

class TimetableFragment :AbstractTripKitFragment, OnClickListener

Types

Name Summary
Builder class Builder
OnTimetableEntrySelectedListener This callback will be invoked when a specific timetable entry is clicked.interface OnTimetableEntrySelectedListener
OnTripKitButtonClickListener When you provide the Timetable fragment with buttons, this callback will be called when one is clicked.interface OnTripKitButtonClickListener

Constructors

Name Summary
<init> TimetableFragment()

Properties

Name Summary
buttons var buttons:List<TripKitButton>
stop var stop:ScheduledStop?
viewModel lateinit var viewModel:TimetableViewModel

Functions

Name Summary
addOnTimetableEntrySelectedListener fun addOnTimetableEntrySelectedListener(callback: OnTimetableEntrySelectedListener):Unit
fun addOnTimetableEntrySelectedListener(listener: (TimetableEntry,ScheduledStop,Long) ->Unit):Unit
onActivityCreated fun onActivityCreated(savedInstanceState: Bundle?):Unit
onAttach fun onAttach(context: Context):Unit
onClick fun onClick(p0: View?):Unit
onCreate fun onCreate(savedInstanceState: Bundle?):Unit
onCreateView fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?
onDestroy fun onDestroy():Unit
onViewCreated fun onViewCreated(view: View, savedInstanceState: Bundle?):Unit
selectTime fun selectTime():Unit
setOnTripKitButtonClickListener fun setOnTripKitButtonClickListener(listener: OnTripKitButtonClickListener):Unit
fun setOnTripKitButtonClickListener(listener: (String,ScheduledStop) ->Unit):Unit