Singsys blog

Use BaseAdapter to maintain the state of the checkbox in list-view when scrolling it in android

The getView() method of the class extending the BaseAdapter holds the state of the currently displayed view which is invalidated when scrolling the listview. So, in order to avoid this problem, proceed in the following manner. (more…)