getNumberOfItemsInGroupOrNull

open fun getNumberOfItemsInGroupOrNull(position: Int): Int?

Returns number of items in the group at position, or null if item is not a group member. If there are group member items in the list, the list is treated as one large group.

Throws