ListPopupWindow.SetSelection(Int32) Method

Definition

Set the selected position of the list.

C#
[Android.Runtime.Register("setSelection", "(I)V", "GetSetSelection_IHandler")]
public virtual void SetSelection (int position);

Parameters

position
Int32

List position to set as selected.

Attributes

Remarks

Set the selected position of the list. Only valid when #isShowing() == true.

Java documentation for android.widget.ListPopupWindow.setSelection(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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35