/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.search/LocationSearchCoreConfig

LocationSearchCoreConfig

\ data class LocationSearchCoreConfig(val bounds: LatLngBounds? = null, val near: LatLng? = null, val initialQuery: String? = null, val hint: String? = null, val canOpenTimetable: Boolean = true, val withCurrentLocation: Boolean = false, val withDropPin: Boolean = false, val showBackButton: Boolean = true, val showSearchField: Boolean = true, val locationSearchIconProvider: LocationSearchIconProvider? = null, val fixedSuggestionsProvider: FixedSuggestionsProvider? = null, val searchProvider: LocationSearchProvider? = null)

Shared location-search fragment construction/wiring used by both:

  • TripGo/WL wrappers
  • TKUI controller wrappers

Constructors

LocationSearchCoreConfig constructor(bounds: LatLngBounds? = null, near: LatLng? = null, initialQuery: String? = null, hint: String? = null, canOpenTimetable: Boolean = true, withCurrentLocation: Boolean = false, withDropPin: Boolean = false, showBackButton: Boolean = true, showSearchField: Boolean = true, locationSearchIconProvider: LocationSearchIconProvider? = null, fixedSuggestionsProvider: FixedSuggestionsProvider? = null, searchProvider: LocationSearchProvider? = null)

Properties

Name Summary
bounds val bounds: LatLngBounds? = null
canOpenTimetable val canOpenTimetable: Boolean = true
fixedSuggestionsProvider val fixedSuggestionsProvider: FixedSuggestionsProvider? = null
hint val hint: String? = null
initialQuery val initialQuery: String? = null
locationSearchIconProvider val locationSearchIconProvider: LocationSearchIconProvider? = null
near val near: LatLng? = null
searchProvider val searchProvider: LocationSearchProvider? = null
showBackButton val showBackButton: Boolean = true
showSearchField val showSearchField: Boolean = true
withCurrentLocation val withCurrentLocation: Boolean = false
withDropPin val withDropPin: Boolean = false