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

Syntax

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

Parameters

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

Remarks

Sets the currently selected item. If in touch mode, the item will not be selected but it will still be positioned appropriately. If the specified selection position is less than 0, then the item at position 0 will be selected.

[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