grid

fun RecyclerView.grid(spanCount: Int = 1, orientation: Int = VERTICAL, reverseLayout: Boolean = false, scrollEnabled: Boolean = true): RecyclerView

创建HoverGridLayoutManager 网格列表

Parameters

spanCount

网格跨度数量

orientation

列表方向

reverseLayout

是否反转

scrollEnabled

是否允许滚动