ListView.GetCheckItemIds Method

Definition

Caution

deprecated

Returns the set of checked items ids.

[Android.Runtime.Register("getCheckItemIds", "()[J", "GetGetCheckItemIdsHandler")]
[System.Obsolete("deprecated")]
public virtual long[]? GetCheckItemIds ();
[<Android.Runtime.Register("getCheckItemIds", "()[J", "GetGetCheckItemIdsHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetCheckItemIds : unit -> int64[]
override this.GetCheckItemIds : unit -> int64[]

Returns

Int64[]

A new array which contains the id of each checked item in the list.

Attributes

Remarks

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

This member is deprecated. Use #getCheckedItemIds() instead.

Java documentation for android.widget.ListView.getCheckItemIds().

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