Compartilhar via


PreferenceGroup.AddItemFromInflater(Preference) Method

Definition

Called by the inflater to add an item to this group.

[Android.Runtime.Register("addItemFromInflater", "(Landroid/preference/Preference;)V", "GetAddItemFromInflater_Landroid_preference_Preference_Handler")]
public virtual void AddItemFromInflater (Android.Preferences.Preference? preference);
[<Android.Runtime.Register("addItemFromInflater", "(Landroid/preference/Preference;)V", "GetAddItemFromInflater_Landroid_preference_Preference_Handler")>]
abstract member AddItemFromInflater : Android.Preferences.Preference -> unit
override this.AddItemFromInflater : Android.Preferences.Preference -> unit

Parameters

preference
Preference
Attributes

Remarks

Called by the inflater to add an item to this group.

Java documentation for android.preference.PreferenceGroup.addItemFromInflater(android.preference.Preference).

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