setItemCount

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.

Return

This builder.

Parameters

itemCount

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