yqritc / RecyclerView-FlexibleDivider

Android library providing simple way to control divider items (ItemDecoration) of RecyclerView
Apache License 2.0
2.4k stars 386 forks source link

ItemDecoration for GridLayout #33

Open yqritc opened 8 years ago

yqritc commented 8 years ago

Draw divider around items instead of entire row / column

xiaolongyuan commented 8 years ago

+1

ghost commented 8 years ago

+1

headsvk commented 8 years ago

useful especially for StaggeredGridLayoutManager

WooYu commented 8 years ago

no see the code

ynheng commented 8 years ago

when I set the Divider for the GridRecyclerView , there is only one line showing,but I have for colum of count....

ynheng commented 8 years ago

++1; dear yqritc , will you update it ?

JonaNorman commented 8 years ago

++1

zourb commented 8 years ago

++1

tanranran commented 8 years ago

++1

oubowu commented 8 years ago

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

ynheng commented 8 years ago

@oubowu 好厉害,连我想要的可进行内部点击操作的粘性头都有了,必须用!!

oubowu commented 8 years ago

@ynhenggg 我已经把能想到的需求都做了,多谢

hyvenzhu commented 8 years ago

GridLayoutManage其实不是很好去做,横向没问题。主要是竖向,一个item可以“横跨多列”,从上到下一条线肯定是不行的。应该是每个item右侧划一根线,楼主有好的方案吗