Skip to content Skip to sidebar Skip to footer

Checkboxes Not Staying Checked After Leaving The Activity And Returning To It

I am putting together a very basic Android app in which the user defines some preferences using CheckBoxes. I have a set of CheckBoxes which I therefore want to stay checked or unc

Solution 1:

You have several options (from easiest to the hardest)

  1. Use Shared Preferences
  2. Save your settings to the file system as a .xml file
  3. Save your settings to the local SQLite database

Post a Comment for "Checkboxes Not Staying Checked After Leaving The Activity And Returning To It"