So after I set the filter on my listview:
//Log adapter count before filter listView.getFilter().filter(searchStr) //Log adapter count after filter >
//Log adapter count before filter listView.getFilter().filter(searchStr) //Log adapter count after filter
This is how I managed to do it:
myAdapter.getFilter().filter(searchText, new Filter.FilterListener() { public void onFilterComplete(int count) { Log.d("log", "result count:" + count); } });