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

allowCurrentLocation

\ fun allowCurrentLocation(withCurrentLocation: Boolean = true): LocationSearchFragment.Builder

The fragment can optionally show a static option of "Current Location". This will be ignored if you specify your own FixedSuggestionsProvider.

Return

this Builder

Parameters

androidJvm

withCurrentLocation When true, show the "Current Location" option