during getView()
I set the layout to each item in the list.
However there are some items I want to remove from my ArrayList and also not draw in the list.
My code goes like:
getView() {
if (condition a)
{
myArrayList.remove(currentIndex);
return;
}
doMoreLayouting();
}
Is this the right way?
Does it do any hurt when you remove an item from the collection during list drawing?
0 comments:
Post a Comment