withGridLayoutManager

Set a GridLayoutManager as this layoutManager.

Return

this

Parameters

spanCount

number of grid columns