I am doing something very similar its because the views in the listview are
re-used as you scroll them out of view they are re-cycled for the new views
coming into view.

You need to manage the change over in the getView method.


On Tue, Jul 26, 2011 at 1:33 PM, Viral Brahmbhatt <[email protected]
> wrote:

> Hi there,
>
> I am trying to implement a listview with image, text and checkbox within
> it, using baseadapter.
>
>
> the problem is, let's say i have 20 items in list, so when i select the
> first item checkbox, and scroll down the list, i can see the item #9 and #17
> also get checked automatically.
>
> can anyone pls help me to understand what is it doing?
>
> --
> *Regards,
> Viral*
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Regards,
Sy

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to