The same way you are notified about any preference change -- register
an OnSharedPreferenceChangeListener with the SharedPreferences.

If, for whatever reason, that is too late, subclass EditTextPreference
and add whatever hooks you need.

On Thu, Feb 24, 2011 at 8:58 AM, dashman <erjdri...@gmail.com> wrote:
> Have an EditTextPreference in a PreferenceActivity.
>
> How can I be notified when the user clicks on
> the ok button on the edit dialog.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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

Reply via email to