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