Preference.OnDependencyChanged(Preference, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.