Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xanaduo opened this issue Oct 24, 2016 · 2 comments
Open

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

xanaduo opened this issue Oct 24, 2016 · 2 comments

Comments

@xanaduo
Copy link

xanaduo commented Oct 24, 2016

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

@laconichy
Copy link

hello ! How did you solve it ?

@laconichy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants