tripkit-android / com.skedgo.tripkit.ui.tripresults / TripResultListFragment

TripResultListFragment

class TripResultListFragment :AbstractTripKitFragment

Types

Name Summary
Builder class Builder
OnLocationClickListener interface OnLocationClickListener
OnTripSelectedListener This callback will be invoked when a search result is clicked.interface OnTripSelectedListener

Constructors

Name Summary
<init> TripResultListFragment()

Properties

Name Summary
binding lateinit var binding: <ERROR CLASS>
shouldShowMoreButton var shouldShowMoreButton:Boolean
viewModel lateinit var viewModel:TripResultListViewModel

Functions

Name Summary
onActivityCreated fun onActivityCreated(savedInstanceState: Bundle?):Unit
onAttach fun onAttach(context: Context):Unit
onCreateView fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?
onViewCreated fun onViewCreated(view: View, savedInstanceState: Bundle?):Unit
query fun query():Query
setOnLocationClickListener fun setOnLocationClickListener(listener: OnLocationClickListener):Unit
fun setOnLocationClickListener(startLocationClicked: () ->Unit, destinationLocationClicked: () ->Unit):Unit
setOnTripSelectedListener fun setOnTripSelectedListener(callback: OnTripSelectedListener):Unit
fun setOnTripSelectedListener(callback: (ViewTrip) ->Unit):Unit
setQuery fun setQuery(query:Query):Unit