You are using convertView object which is a recycled view.
On Thu, Apr 8, 2010 at 2:42 AM, Binesy wrote:
> Hi,
>
> I have been having some strange behavior when refreshing a listview
> from a button in a list item. Say you have a list of 4 items, indexes
> 0-3 and you click on item 4, and print
On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote:
> Why is this happening and how can I fix it?
>
The ListView will re-use views it uses, as you see by the convertView. These
are not guaranteed to be in the same order as you scroll the list and items
are cycled, AFAIK.
My guess is your items are be
On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote:
> 3 is printed correctly, then i refresh the list.
>
Refresh the list how?
Also, what's the point of the Container class? AFAICT, it's completely
redundant and unnecessary.
Hi,
I have been having some strange behavior when refreshing a listview
from a button in a list item. Say you have a list of 4 items, indexes
0-3 and you click on item 4, and print the index. 3 is printed
correctly, then i refresh the list. I click on item 4 again, but this
time index 0 is prin
4 matches
Mail list logo