getSpanSize

abstract fun getSpanSize(position: Int): Int

Returns the number of span occupied by the item at position.

Return

The number of spans occupied by the item at the provided position

Parameters

position

The adapter position of the item