Språk

AccessibilityNodeInfo.CollectionInfo.Builder.SetItemCount(Int32) Method

Definition

Sets the number of items in the collection.

[Android.Runtime.Register("setItemCount", "(I)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionInfo$Builder;", "", ApiSince=35)]
public Android.Views.Accessibility.AccessibilityNodeInfo.CollectionInfo.Builder SetItemCount(int itemCount);
[<Android.Runtime.Register("setItemCount", "(I)Landroid/view/accessibility/AccessibilityNodeInfo$CollectionInfo$Builder;", "", ApiSince=35)>]
member this.SetItemCount : int -> Android.Views.Accessibility.AccessibilityNodeInfo.CollectionInfo.Builder

Parameters

itemCount
Int32

The number of items in the collection. This should be set to UNDEFINED if the item count is not known.

Returns

This builder. This value cannot be null.

Attributes

Remarks

Sets the number of items in the collection. Can be optionally set for ViewGroups with clear row and column semantics; should be set for all other clients.

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionInfo.Builder.setItemCount.

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