Search - add "live" search results
- now it is possible to have Search results directly when you are typing (and not only when you press on the Search button in the IME) - implement onQueryTextChange(...) - take care about re-runnin the saved query when the app is resumed Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
This commit is contained in:
@@ -151,6 +151,11 @@ public class SearchResultsSummary extends Fragment {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean onQueryTextChange(String query) {
|
||||
updateSearchResults(query);
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean onClose() {
|
||||
clearResults();
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user