/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.search/DefaultFixedSuggestionsProvider
DefaultFixedSuggestionsProvider
\ class DefaultFixedSuggestionsProvider(val showChooseOnMap: Boolean, showCurrentLocation: Boolean) : FixedSuggestionsProvider
Constructors
DefaultFixedSuggestionsProvider | constructor(showChooseOnMap: Boolean, showCurrentLocation: Boolean) |
Properties
Name | Summary |
---|---|
showChooseOnMap | val showChooseOnMap: Boolean |
Functions
Name | Summary |
---|---|
citiesToSuggestion | open override fun citiesToSuggestion(context: Context, locations: List<Region.City>, iconProvider: LegacyLocationSearchIconProvider): List<SearchSuggestion> |
fixedSuggestions | open override fun fixedSuggestions(context: Context, iconProvider: LocationSearchIconProvider): List<SearchSuggestion> |
locationsToSuggestion | open override fun locationsToSuggestion(context: Context, locations: List<Location>, iconProvider: LegacyLocationSearchIconProvider): List<SearchSuggestion> |
setShowCurrentLocation | fun setShowCurrentLocation(show: Boolean) |
setup | open override fun setup(favoritesRepository: FavoritesRepository) |
specificSuggestions | open override fun specificSuggestions(context: Context, suggestionTypes: List<DefaultFixedSuggestionType>, iconProvider: LocationSearchIconProvider): List<SearchSuggestion> |