vendredi 14 septembre 2018

Checkbox refreshing in false when I use notifyDataSetChanged();

My problem is the one worte on the title, I have a recyclerview with checkboxes and radiobuttons, before I started to use the notifyDataSetChanged() (because I need to update the recyclerview) the checkboxes and radiobuttons were been checked, but now the checks don't work. (I think that it work but it become in false instantly)

I am sure of this because if I comment the line of notifyDataSetChanged() then it still working as well.

Do you guys know how to fix it?

Thank you in advance.




Aucun commentaire:

Enregistrer un commentaire