use of eu.davidea.samples.flexibleadapter.items.SimpleItem in project FlexibleAdapter by davideas.
the class FilterTest method verifyResult.
private void verifyResult() {
int count = 0;
for (AbstractFlexibleItem dbItem : mItems) {
SimpleItem simpleItem = (SimpleItem) dbItem;
if (simpleItem.filter("1")) {
count++;
}
}
assertEquals(count, mAdapter.getItemCount());
}
Aggregations