Android Forum » Android Developer Forum » Android Developer Forum » Android Listview with checkbox not maintain state when scrolling

Android Listview with checkbox not maintain state when scrolling

Android Listview with checkbox not maintain state when scrolling
created on Jan 19, 2012 2:39:03 PM
Android Listview with checkbox not maintain state when scrolling.

I have listview with custom rows

[[TextView][Checkbox]]

I am clicking then scrolling the listview . It is not maintain check state properly. what to say ? Items are checked in its own manner. I have tried View Holder to reuse the created view inside getview().
Reply with quote Reply Link ±0     (0 votes)
RE: Android Listview with checkbox not maintain state when scrolling
created on Jan 19, 2012 3:06:54 PM
you have to check and/or uncheck it within your getView

views are reused...

-----
swordiApps Blog - Website

Reply with quote Reply Link ±0     (0 votes)