Why is my BaseAdapter class not incrementing the position in getView?

Standard

This error will happen if you put a ListView inside a ScrollView. ListView itself does vertical scroll so it must not be put into a ScrollView.

An adapter will call getView when listView need new item to show. So, if your listView not scroll, no new item be created, and no call to getView.

But you should not store all spinner object, and should not create new object in getView too. Thats cause slow and maybe waste memory.

Leave a Reply

Your email address will not be published. Required fields are marked *