Share via


Preference.OnPreferenceChangeListener Property

Definition

Returns the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated). -or- Sets the callback to be invoked when this Preference is changed by the user (but before the internal state has been updated).

public virtual Android.Preferences.Preference.IOnPreferenceChangeListener? OnPreferenceChangeListener { [Android.Runtime.Register("getOnPreferenceChangeListener", "()Landroid/preference/Preference$OnPreferenceChangeListener;", "GetGetOnPreferenceChangeListenerHandler")] get; [Android.Runtime.Register("setOnPreferenceChangeListener", "(Landroid/preference/Preference$OnPreferenceChangeListener;)V", "GetSetOnPreferenceChangeListener_Landroid_preference_Preference_OnPreferenceChangeListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnPreferenceChangeListener", "()Landroid/preference/Preference$OnPreferenceChangeListener;", "GetGetOnPreferenceChangeListenerHandler")>]
[<set: Android.Runtime.Register("setOnPreferenceChangeListener", "(Landroid/preference/Preference$OnPreferenceChangeListener;)V", "GetSetOnPreferenceChangeListener_Landroid_preference_Preference_OnPreferenceChangeListener_Handler")>]
member this.OnPreferenceChangeListener : Android.Preferences.Preference.IOnPreferenceChangeListener with get, set

Property Value

The callback to be invoked.

Attributes

Remarks

Property getter documentation:

Java documentation for android.preference.Preference.getOnPreferenceChangeListener().

Property setter documentation:

Java documentation for android.preference.Preference.setOnPreferenceChangeListener(android.preference.OnPreferenceChangeListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to