Fixed a bug with using arrayAdapter.addAll

pull/14/head
Sam Bosley 13 years ago
parent 89abbb3839
commit 4f78174341

@ -361,7 +361,10 @@ public class FilterAdapter extends BaseExpandableListAdapter {
onReceiveFilter((FilterListItem)item);
if (filter instanceof FilterCategory) {
arrayAdapter.addAll(((FilterCategory) filter).children);
Filter[] children = ((FilterCategory) filter).children;
for (Filter f : children) {
arrayAdapter.add(f);
}
} else {
arrayAdapter.add(filter);
}

Loading…
Cancel
Save