I created an android preference page and wanted to show the current option selected in the summary.
So I implemented the onSharedPreferenceChanged listener which is also called correctly. However, there is no screen change and the old option is shown.
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
// just update all
ListPreference lp = (ListPreference) findPreference(PREF_DOWNLOAD_WEB);
lp.setSummary(getString(R.string.pref_listDownloadWebSummary) + ": %s");
}
Is this a known bug?