Fix #34
This commit is contained in:
parent
f267f68245
commit
94b6189f36
|
@ -335,6 +335,8 @@ public class InstanceCatalogFragment extends BaseRecyclerFragment<CatalogInstanc
|
||||||
private boolean onSearchEnterPressed(TextView v, int actionId, KeyEvent event){
|
private boolean onSearchEnterPressed(TextView v, int actionId, KeyEvent event){
|
||||||
if(event!=null && event.getAction()!=KeyEvent.ACTION_DOWN)
|
if(event!=null && event.getAction()!=KeyEvent.ACTION_DOWN)
|
||||||
return true;
|
return true;
|
||||||
|
currentSearchQuery=searchEdit.getText().toString().toUpperCase();
|
||||||
|
updateFilteredList();
|
||||||
searchEdit.removeCallbacks(searchDebouncer);
|
searchEdit.removeCallbacks(searchDebouncer);
|
||||||
Instance instance=instancesCache.get(currentSearchQuery);
|
Instance instance=instancesCache.get(currentSearchQuery);
|
||||||
if(instance==null){
|
if(instance==null){
|
||||||
|
|
Loading…
Reference in New Issue