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.
If in touch mode, the item will not be selected but it will still be positioned
appropriately.
Remarks
Requirements
Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1