Sharedpreferences.editor Not Being Updated After Initial Commit
I'ma a bit confused here. I'm trying to change the value of an EditTextPreference, but it is not updated in the view. (This is in a PreferenceActivity) Here is my code: @Override p
Solution 1:
Although I know there are some constructs in place for PreferenceActivities to keep track of this info themselves, it doesn't seem to be well documented. I have found that adding an onPreferenceChangeListener
to the preference will allow you to make those edits as soon as the preference is changed.
Post a Comment for "Sharedpreferences.editor Not Being Updated After Initial Commit"