yqritc/RecyclerView-FlexibleDivider

I don't want to the divider when I have a header.

xanaduo opened this issue · 2 comments

I have some headers, but the divider display the top also.
I'm not good at English……

hello ! How did you solve it ?

.visibilityProvider(new FlexibleDividerDecoration.VisibilityProvider() {
@OverRide
public boolean shouldHideDivider(int position, RecyclerView parent) {
if (position == 0) return true;
return false;
}
})
That's all right !!!