fixed emty search query on suggestions error
This commit is contained in:
parent
4ea86b714e
commit
e4f753ae82
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ public class VideoItemListActivity extends AppCompatActivity
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextChange(String newText) {
|
public boolean onQueryTextChange(String newText) {
|
||||||
searchSuggestions(newText);
|
if(!newText.isEmpty()) {
|
||||||
|
searchSuggestions(newText);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue