Closed Nutomic closed 7 years ago
Unfortunately this is how RecyclerView works, this library it's only a custom adapter not a custom RecyclerView.
If you don't want the lines for every item, don't use ItemDecoration and add the line in your header layout as in many examples of the demo app, for instance, check the header layout of Example1.
I'm adding a seperator to my RecyclerView with this code:
However, the divider is also drawn between items in a section. You can see this in the screenshot (I changed the color to red for better visibility). Dividers should only be visible above "TechRabbit" and "Amazon.com".
I'm happy to help with this, if you tell me how it can be fixed.