Aracılığıyla paylaş


Preference.OnDependencyChanged(Preference, Boolean) Method

Definition

Called when the dependency changes.

[Android.Runtime.Register("onDependencyChanged", "(Landroid/preference/Preference;Z)V", "GetOnDependencyChanged_Landroid_preference_Preference_ZHandler")]
public virtual void OnDependencyChanged (Android.Preferences.Preference? dependency, bool disableDependent);
[<Android.Runtime.Register("onDependencyChanged", "(Landroid/preference/Preference;Z)V", "GetOnDependencyChanged_Landroid_preference_Preference_ZHandler")>]
abstract member OnDependencyChanged : Android.Preferences.Preference * bool -> unit
override this.OnDependencyChanged : Android.Preferences.Preference * bool -> unit

Parameters

dependency
Preference

The Preference that this Preference depends on.

disableDependent
Boolean

Set true to disable this Preference.

Attributes

Remarks

Called when the dependency changes.

Java documentation for android.preference.Preference.onDependencyChanged(android.preference.Preference, boolean).

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