List of usage examples for android.widget ListView clearTextFilter
public void clearTextFilter()
From source file:com.github.yuukis.businessmap.app.ContactsListFragment.java
@Override public boolean onQueryTextChange(String newText) { ListView listView = getListView(); if (TextUtils.isEmpty(newText)) { listView.clearTextFilter(); } else {/*from www . j a va2s . co m*/ listView.setFilterText(newText.toString()); } return true; }