public static interface SearchBar.SearchBarListener
Modifier and Type | Method and Description |
---|---|
void |
onKeyboardDismiss(String query)
Method invoked when the IME is being dismissed.
|
void |
onSearchQueryChange(String query)
Method invoked when the search bar detects a change in the query.
|
void |
onSearchQuerySubmit(String query)
Method invoked when the search query is submitted.
|
void onSearchQueryChange(String query)
query
- The current full query.void onSearchQuerySubmit(String query)
Method invoked when the search query is submitted.
This method can be called without a preceeding onSearchQueryChange, in particular in the case of a voice input.
query
- The query being submitted.void onKeyboardDismiss(String query)
query
- The query set in the search bar at the time the IME is being dismissed.