Share via


AbsListView.CheckedItemPositions Property

Definition

Returns the set of checked items in the list.

public virtual Android.Util.SparseBooleanArray? CheckedItemPositions { [Android.Runtime.Register("getCheckedItemPositions", "()Landroid/util/SparseBooleanArray;", "GetGetCheckedItemPositionsHandler")] get; }
[<get: Android.Runtime.Register("getCheckedItemPositions", "()Landroid/util/SparseBooleanArray;", "GetGetCheckedItemPositionsHandler")>]
member this.CheckedItemPositions : Android.Util.SparseBooleanArray

Property Value

A SparseBooleanArray which will return true for each call to get(int position) where position is a checked position in the list and false otherwise, or null if the choice mode is set to #CHOICE_MODE_NONE.

Attributes

Remarks

Returns the set of checked items in the list. The result is only valid if the choice mode has not been set to #CHOICE_MODE_NONE.

Java documentation for android.widget.AbsListView.getCheckedItemPositions().

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