Skip to content Skip to sidebar Skip to footer

Unexpected Behaviour From Getview() Of Customadapter

Iam having a ViewHolder class like this static class ViewHolder { protected String fileName; protected Bitmap bitmap = null; protected CheckBox checkBox; protec

Solution 1:

Seems that when you don't use this workaround, Android has to resize the listview's layout several times until it's performed. That's why there's many users complaining about getView() being called more times than it "should".

Anyway, be conscious that getView() is not called secuentially, it's called in the order that Android determines, so don't expect to be tags shown in order.

--- EDIT ---

And here comes the confirmation, page 48. Hope this helps!

Post a Comment for "Unexpected Behaviour From Getview() Of Customadapter"