SearchViewCompat.OnQueryTextListener
instead.@Deprecated public abstract static class SearchViewCompat.OnQueryTextListenerCompat extends Object implements SearchViewCompat.OnQueryTextListener
Constructor and Description |
---|
OnQueryTextListenerCompat()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
onQueryTextChange(String newText)
Deprecated.
Called when the query text is changed by the user.
|
boolean |
onQueryTextSubmit(String query)
Deprecated.
Called when the user submits the query.
|
public boolean onQueryTextSubmit(String query)
SearchViewCompat.OnQueryTextListener
onQueryTextSubmit
in interface SearchViewCompat.OnQueryTextListener
query
- the query text that is to be submittedpublic boolean onQueryTextChange(String newText)
SearchViewCompat.OnQueryTextListener
onQueryTextChange
in interface SearchViewCompat.OnQueryTextListener
newText
- the new content of the query text field.