ListPreference.SetValueIndex(Int32) Method

Definition

Sets the value to the given index from the entry values.

[Android.Runtime.Register("setValueIndex", "(I)V", "GetSetValueIndex_IHandler")]
public virtual void SetValueIndex (int index);
[<Android.Runtime.Register("setValueIndex", "(I)V", "GetSetValueIndex_IHandler")>]
abstract member SetValueIndex : int -> unit
override this.SetValueIndex : int -> unit

Parameters

index
Int32

The index of the value to set.

Attributes

Remarks

Sets the value to the given index from the entry values.

Java documentation for android.preference.ListPreference.setValueIndex(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.

Applies to