Share via


MultiSelectListPreference.SetEntries Method

Definition

Overloads

SetEntries(ICharSequence[])

Sets the human-readable entries to be shown in the list.

SetEntries(Int32)
SetEntries(String[])

Sets the human-readable entries to be shown in the list.

SetEntries(ICharSequence[])

Sets the human-readable entries to be shown in the list.

[Android.Runtime.Register("setEntries", "([Ljava/lang/CharSequence;)V", "GetSetEntries_arrayLjava_lang_CharSequence_Handler")]
public virtual void SetEntries (Java.Lang.ICharSequence[]? entries);
[<Android.Runtime.Register("setEntries", "([Ljava/lang/CharSequence;)V", "GetSetEntries_arrayLjava_lang_CharSequence_Handler")>]
abstract member SetEntries : Java.Lang.ICharSequence[] -> unit
override this.SetEntries : Java.Lang.ICharSequence[] -> unit

Parameters

entries
ICharSequence[]

The entries.

Attributes

Remarks

Sets the human-readable entries to be shown in the list. This will be shown in subsequent dialogs.

Each entry must have a corresponding index in #setEntryValues(CharSequence[]).

Java documentation for android.preference.MultiSelectListPreference.setEntries(java.lang.CharSequence[]).

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.

See also

Applies to

SetEntries(Int32)

[Android.Runtime.Register("setEntries", "(I)V", "GetSetEntries_IHandler")]
public virtual void SetEntries (int entriesResId);
[<Android.Runtime.Register("setEntries", "(I)V", "GetSetEntries_IHandler")>]
abstract member SetEntries : int -> unit
override this.SetEntries : int -> unit

Parameters

entriesResId
Int32

The entries array as a resource.

Attributes

Remarks

Java documentation for android.preference.MultiSelectListPreference.setEntries(int).

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.

See also

Applies to

SetEntries(String[])

Sets the human-readable entries to be shown in the list.

public void SetEntries (string[]? entries);
member this.SetEntries : string[] -> unit

Parameters

entries
String[]

The entries.

Remarks

Sets the human-readable entries to be shown in the list. This will be shown in subsequent dialogs.

Each entry must have a corresponding index in #setEntryValues(CharSequence[]).

Java documentation for android.preference.MultiSelectListPreference.setEntries(java.lang.CharSequence[]).

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