Android Listview with checkbox not maintain state when scrolling

  • Replies:1
Mahendran Vadivalagan
  • Forum posts: 1

Jan 19, 2012, 2:39:03 PM via Website

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
Markus Gu
  • Forum posts: 2,644

Jan 19, 2012, 3:06:54 PM via Website

you have to check and/or uncheck it within your getView

views are reused...

swordiApps Blog - Website

Reply