RecyclerView-FlexibleDivider icon indicating copy to clipboard operation
RecyclerView-FlexibleDivider copied to clipboard

ItemDecoration for GridLayout

Open yqritc opened this issue 9 years ago • 13 comments

Draw divider around items instead of entire row / column

yqritc avatar Feb 19 '16 04:02 yqritc

+1

xiaolongyuan avatar Feb 22 '16 06:02 xiaolongyuan

+1

ghost avatar Feb 23 '16 03:02 ghost

useful especially for StaggeredGridLayoutManager

headsvk avatar Mar 02 '16 12:03 headsvk

no see the code

WooYu avatar May 23 '16 03:05 WooYu

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

ynheng avatar Jul 11 '16 06:07 ynheng

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

ynheng avatar Jul 14 '16 07:07 ynheng

++1

JonaNorman avatar Jul 19 '16 08:07 JonaNorman

++1

zourb avatar Jul 22 '16 02:07 zourb

++1

tanranran avatar Aug 03 '16 03:08 tanranran

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 avatar Aug 03 '16 03:08 oubowu

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

ynheng avatar Aug 03 '16 06:08 ynheng

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

oubowu avatar Aug 03 '16 06:08 oubowu

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

hyvenzhu avatar Sep 20 '16 08:09 hyvenzhu