Aracılığıyla paylaş


PreferenceActivity.LoadHeadersFromResource Method

Definition

Parse the given XML file as a header description, adding each parsed Header into the target list.

[Android.Runtime.Register("loadHeadersFromResource", "(ILjava/util/List;)V", "GetLoadHeadersFromResource_ILjava_util_List_Handler")]
public virtual void LoadHeadersFromResource (int resid, System.Collections.Generic.IList<Android.Preferences.PreferenceActivity.Header>? target);
[<Android.Runtime.Register("loadHeadersFromResource", "(ILjava/util/List;)V", "GetLoadHeadersFromResource_ILjava_util_List_Handler")>]
abstract member LoadHeadersFromResource : int * System.Collections.Generic.IList<Android.Preferences.PreferenceActivity.Header> -> unit
override this.LoadHeadersFromResource : int * System.Collections.Generic.IList<Android.Preferences.PreferenceActivity.Header> -> unit

Parameters

resid
Int32

The XML resource to load and parse.

target
IList<PreferenceActivity.Header>

The list in which the parsed headers should be placed.

Attributes

Remarks

Parse the given XML file as a header description, adding each parsed Header into the target list.

Java documentation for android.preference.PreferenceActivity.loadHeadersFromResource(int, java.util.List<android.preference.PreferenceActivity.Header>).

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