onSuggestionClick

abstract fun onSuggestionClick(searchSuggestion: SearchSuggestion): Boolean

Called when a suggestion is clicked. This allows listeners to get a chance to process click on their own. SearchResultsView will not process the click if this function returns true. If multiple listeners are registered and any of them has processed the click, all the remaining listeners will not be invoked.

Return

True if the listener has processed the click, false otherwise.

Parameters

searchSuggestion

The clicked SearchSuggestion object.