public static interface SearchView.OnSuggestionListener
SearchView.setSearchableInfo(android.app.SearchableInfo)
.Modifier and Type | Method and Description |
---|---|
boolean |
onSuggestionClick(int position)
Called when a suggestion was clicked.
|
boolean |
onSuggestionSelect(int position)
Called when a suggestion was selected by navigating to it.
|
boolean onSuggestionSelect(int position)
position
- the absolute position in the list of suggestions.boolean onSuggestionClick(int position)
position
- the absolute position of the clicked item in the list of suggestions.