I am creating an Android application and I have settings stored in classes downloaded from the Internet (we synchronize settings with the website), however, using PreferenceScreen, they seem to be ignored when using the correct APIs.
In XML, I turned off persistence, and I'm sure in Java, for example, p.setPersistent(false);
then I set the default p.setDefaultValue( boolean );
I use only EditTextPreferences and CheckBoxPreferences, and both of them do not work. I tried to install it in the editor, but it does not work.
Thanks,
Joe
source share