get Span Size
open fun getSpanSize(totalSpanCount: Int, position: Int, itemCount: Int): Int
Content copied to clipboard
Subclasses can override this if they want their view to take up more than one span in a gridlayout.
Parameters
totalSpanCount
The number of spans in the grid
position
The position of the model
itemCount
The total number of items in the adapter