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

Divider at specific position #4

Closed
Vrutin opened this issue Mar 12, 2015 · 1 comment
Closed

Divider at specific position #4

Vrutin opened this issue Mar 12, 2015 · 1 comment

Comments

@Vrutin
Copy link

Vrutin commented Mar 12, 2015

How can I add the divider after a specific position.

I cannot seem to find it.

@yqritc
Copy link
Owner

yqritc commented Mar 12, 2015

Please see the following sample
https://github.com/yqritc/RecyclerView-FlexibleDivider/blob/master/sample/src/main/java/com/yqritc/recyclerviewflexibledivider/sample/ComplexAdapter.java#L108

You can control the visibility of divider by implementing FlexibleDividerDecoration.VisibilityProvider

@yqritc yqritc closed this as completed Mar 17, 2015
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