On Thu, Oct 21, 2010 at 2:55 AM, LiangLiang Wu <geish...@gmail.com> wrote:
> but only when I check the last item's checkbox, it go A correctly. Other > items' checkbox are checked they just go B. Who could tell me where I am > wrong. Well, you're checking if the argument is the same as the reference you have saved. This reference can only point to one thing - in this case, presumably, the last checkbox. Also, you're only setting the listener on one checkbox, AFAICT. Usually you maintain state information (like checked state) in your own data structure, then update the view in getView() based on that state for a given position. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en