AdapterView.InvalidPosition Field

Definition

Represents an invalid position.

C#
[Android.Runtime.Register("INVALID_POSITION")]
public const int InvalidPosition = -1;

Field Value

Value = -1
Attributes

Remarks

Represents an invalid position. All valid positions are in the range 0 to 1 less than the number of items in the current adapter.

Java documentation for android.widget.AdapterView.INVALID_POSITION.

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