epoxy-adapter / com.airbnb.epoxy / EpoxyController / setSpanCount

setSpanCount

open fun setSpanCount(spanCount: Int): Unit

If you are using a grid layout manager you must call this to set the span count of the grid. This span count will be passed on to the models so models can choose which span count to be.

See Also
#getSpanSizeLookup()EpoxyModel#getSpanSize(int, int, int)