I have found while scrolling Recyclerview, it lost checkboxes states. You can use SparseBooleanArray for storing Integer, Boolean values. I found code for Java on the web. But how to do that in Kotlin? Why SparseBooleanArray, what's wrong with HashMap?
Aucun commentaire:
Enregistrer un commentaire