AdapterView.InvalidPosition Field

Definition

Represents an invalid position.

[Android.Runtime.Register("INVALID_POSITION")]
public const int InvalidPosition = -1;
[<Android.Runtime.Register("INVALID_POSITION")>]
val mutable InvalidPosition : int

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