Android listview with checkbox problem
Solution 1:
This was tricky.
The problem is that you are calling setChecked
, activating the old OnCheckedChangeListener
.
The fix is quite simple: call setOnCheckedChangeListener
before calling setChecked
. This way you sever the link to the old listener from the recycled view.