setSpanCount

open fun setSpanCount(spanCount: Int)(source)

Sets the number of spans to be laid out.

If getOrientation is VERTICAL, this is the number of columns. If getOrientation is HORIZONTAL, this is the number of rows.

Parameters

spanCount

The total number of spans in the grid

See also