RecyclerView-FlexibleDivider
RecyclerView-FlexibleDivider copied to clipboard
ItemDecoration for GridLayout
Draw divider around items instead of entire row / column
+1
+1
useful especially for StaggeredGridLayoutManager
no see the code
when I set the Divider for the GridRecyclerView , there is only one line showing,but I have for colum of count....
++1; dear yqritc , will you update it ?
++1
++1
++1
I have do the job for vertical orientation linearlayout,gridlayout and staggeredlayout,see https://github.com/oubowu/PinnedSectionItemDecoration/blob/master/library%2Fsrc%2Fmain%2Fjava%2Fcom%2Foushangfeng%2Fpinnedsectionitemdecoration%2FPinnedHeaderItemDecoration.java
@oubowu 好厉害,连我想要的可进行内部点击操作的粘性头都有了,必须用!!
@ynhenggg 我已经把能想到的需求都做了,多谢
GridLayoutManage其实不是很好去做,横向没问题。主要是竖向,一个item可以“横跨多列”,从上到下一条线肯定是不行的。应该是每个item右侧划一根线,楼主有好的方案吗