Android.Widget.AdapterView.SetSelection Method
Sets the currently selected item.

Syntax

[Android.Runtime.Register("setSelection", "(I)V", "GetSetSelection_IHandler")]
public abstract void SetSelection (int position)

Parameters

position
Index (starting at 0) of the data item to be selected.

Remarks

Sets the currently selected item. To support accessibility subclasses that override this method must invoke the overriden super method first.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1