setSpanCount
Updates the number of spans of the PivotLayoutManager used by this RecyclerView.
Parameters
spans
number of columns in vertical orientation, or number of rows in horizontal orientation. Must be greater than 0
Updates the number of spans of the PivotLayoutManager used by this RecyclerView.
number of columns in vertical orientation, or number of rows in horizontal orientation. Must be greater than 0