I know, this question was asked before, but I haven\'t seen a working answer for it.
Is there any way to hide some items in a ListView without changing
ListView
Simple way to resolve this problem for me, just parse and check your list in activity before calling method "setAdapter", for example:
for(Object a : list){ //here must be some condition for getting all items without hidden newList += a; } setAdapter(newList);