SearchListener

interface SearchListener

Search results view listener.

Functions

Link copied to clipboard
abstract fun onError(e: Exception)

Called when error occurs during the suggestions request. When this happens, error information is displayed on the view.

Link copied to clipboard
abstract fun onSuggestionSelected(suggestion: AddressAutofillSuggestion)

Called when a suggestion is selected by a user.

Link copied to clipboard
abstract fun onSuggestionsShown(suggestions: List<AddressAutofillSuggestion>)

Called when the AddressAutofillSuggestions are received and displayed on the view.