I have a PreferenceScreen
in which I have a CheckBox Preference
and a simple Preference
, which calls a custom dialog. In this custom dialog the user can pick a number. By pressing OK in this dialog I want to save the number by editing my sharedPreferences
. After saving it should call automaticaly the OnSharedPreferenceChanged
method.
The CheckBox Preference works fine.