I am seeing a problem that happens sometimes, depending on how the user scrolls the ListView.
Basically my ListView
item contains of some checkboxes
and a SwitchCompat
which all have their OnCheckedChangeListener
set inside the getView
of the adapter.
The problem is that, sometimes during regular scroll, the OnCheckedChangeListener
fires and the values change, when the list should only scroll.
How should I handle this? Is there a simple way to disable any item's clicks while the list is scrolling?