AbsListView.GetCheckedItemIds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the set of checked items ids.
[Android.Runtime.Register("getCheckedItemIds", "()[J", "GetGetCheckedItemIdsHandler")]
public virtual long[]? GetCheckedItemIds ();
[<Android.Runtime.Register("getCheckedItemIds", "()[J", "GetGetCheckedItemIdsHandler")>]
abstract member GetCheckedItemIds : unit -> int64[]
override this.GetCheckedItemIds : unit -> int64[]
Returns
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
and the adapter has stable IDs. (ListAdapter#hasStableIds()
== true
)
Java documentation for android.widget.AbsListView.getCheckedItemIds()
.
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.