setLayoutSpanSize

open fun setLayoutSpanSize(layoutManager: GridLayoutManager)

Initial implementation is only specific for group types of recyclers, in order to customize this an override is required.

Parameters

layoutManager

grid layout manage for your recycler


Initial implementation is only specific for group types of recyclers, in order to customize this an override is required.

Parameters

layoutParams

StaggeredGridLayoutManager.LayoutParams for your recycler