Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Shared Preferences Initialization

It is often nice to have some default values in Shared Preferences to begin with. Is there a good way to initialize them from an xml file or property file? Looking for the best way to do this. Thanks.

like image 526
Androider Avatar asked Feb 09 '11 05:02

Androider


1 Answers

Read the answer in this question:

Android Preferences: How to load the default values when the user hasn't used the preferences-screen?

like image 181
Patrick Boos Avatar answered Oct 20 '22 23:10

Patrick Boos