📜  如何在recyclerview android中设置列数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:44.955000             🧑  作者: Mango

代码示例2
.//Add in recyclerView widget in xml file
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:spanCount="2"