使用WidgetUtils.initGridRecyclerView初始化RecyclerView,指定spanCount每行的item数量是对的,但分割线不对,分割线被固定为3个一组。
aystshen opened this issue · comments
com.xuexiang.xui.adapter.recyclerview.GridDividerItemDecoration 第104行的问题
固定写成了 int column = (position + 1) % 3;
是的,我已下载源码本地修改好了。