/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.search/LocationSearchFragment/Builder/withFixedSuggestionsProvider

withFixedSuggestionsProvider

\ fun withFixedSuggestionsProvider(fixedSuggestionsProvider: FixedSuggestionsProvider): LocationSearchFragment.Builder

Fixed search results (such as Choose on Map and Current Location) are shown when the search results are empty. If you'd like to provide your own list of fixed results, you can speficy a FixedSuggestionsProvider which will be queried. This is mutually exclusive with allowCurrentLocation and allowDropPin.

Return

this Builder

Parameters

androidJvm

fixedSuggestionsProvider An instance of a FixedSuggestionsProvider