Share via


Preference.OnAttachedToHierarchy(PreferenceManager) Method

Definition

Called when this Preference has been attached to a Preference hierarchy.

[Android.Runtime.Register("onAttachedToHierarchy", "(Landroid/preference/PreferenceManager;)V", "GetOnAttachedToHierarchy_Landroid_preference_PreferenceManager_Handler")]
protected virtual void OnAttachedToHierarchy (Android.Preferences.PreferenceManager? preferenceManager);
[<Android.Runtime.Register("onAttachedToHierarchy", "(Landroid/preference/PreferenceManager;)V", "GetOnAttachedToHierarchy_Landroid_preference_PreferenceManager_Handler")>]
abstract member OnAttachedToHierarchy : Android.Preferences.PreferenceManager -> unit
override this.OnAttachedToHierarchy : Android.Preferences.PreferenceManager -> unit

Parameters

preferenceManager
PreferenceManager

The PreferenceManager of the hierarchy.

Attributes

Remarks

Called when this Preference has been attached to a Preference hierarchy. Make sure to call the super implementation.

Java documentation for android.preference.Preference.onAttachedToHierarchy(android.preference.PreferenceManager).

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