In the API reference for the method onDialogClosed of DialogPreference
it says "Called when the dialog is dismissed and should be used to
save data to the SharedPreferences."

My problem is that nothing gets persisted when I call persistString
from onDialogClose. I can listen to changes to my component and
persist data then, but of course the right way is to do it in
onDialogClose. But for some reason this doesn't work.

I'm using the emulator, API level for 2.1 update 2 in Ubuntu.

Any ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to