android - listview filter count
问题 So after I set the filter on my listview: //Log adapter count before filter listView.getFilter().filter(searchStr) //Log adapter count after filter What I'm trying to achieve is to get the count of the result of that filtering. Like if before there are 10 items, then I apply the filter, so now only 5 items will appear, I want to get that count "5". I've tried checking the adapter count before and after the filter with no luck. They're displaying same count (I'm using a