tags:

views:

189

answers:

0

Hi,

My problem is the following : I have a component that extends DialogPreference, if I change the associated preference from other part than the UI, with

SharedPreferences.Editor ed= sharedPreferences.Edit();
ed.putInteger("Setting",aValue);
ed.commit();

then when I open the dialog the selected preference is not changed accordingly to the previous setted value, even if in the shared preferences the value is modified.

Has anyone , any idea what could cause this ?