lundi 8 août 2016

CheckBox set checked programmatically without animating

I have a ListView where each item is a CheckBox. I keep the state of each item in an ArrayList to make sure that the recycled views are not mixed up.

The only problem with that is that I have to use setChecked on each CheckBox row item, which at first shows checked then shows the unchecking animation.

Is there a way to force setChecked on a CheckBox without the animation? Instantly, I mean.




Aucun commentaire:

Enregistrer un commentaire