Android SearchView Filter ListView
I have implemented Search Filter to my SearchView in my SherlockAction Bar. When i type m i want to show filtered results in the list view below which only starts with M and so on. But now it shows random results. public boolean onQueryTextChange(String newText) { Log.i("Nomad", "onQueryTextChange"); if (TextUtils.isEmpty(newText)) { adapter.getFilter().filter(""); Log.i("Nomad", "onQueryTextChange Empty String"); placesListView.clearTextFilter(); } else { Log.i("Nomad", "onQueryTextChange " + newText.toString()); adapter.getFilter().filter(newText.toString()); } return true; } public boolean