mardi 3 mars 2015

How to save a checkbox in dynamic ListView when exit the app

I am new in Android and I was wondering if there is some way to save the following: I have a custom adapter which contain a title and a checkbox.


The list is obtained from a database which is always changing, so the listView is dynamic. I cannot use SharedPreference because it only saves the position (and the list is moving) and I would like to find a way to save if the checkbox in each item is enabled or disabled when the user exit the application. Thanks in advance and sorry for my english


Aucun commentaire:

Enregistrer un commentaire