yqritc/RecyclerView-FlexibleDivider

shouldHideDivider not working

PSesto opened this issue · 2 comments

when set to true, divider is still showing

I can confirm that my adapter is implementing FlexibleDividerDecoration.VisibilityProvider and overriding shouldHideDivider. I can also confirm that shouldHideDivider is not being called

@PSesto
Please check my sample project.
Complex Divider List (ComplexActivity) implements VisibilityProvider.
I just checked the sample and it works well, so please check your implementation.

You're right. I didn't see the ".visibilityProvider(adapter)" line in ComplexActivity.

Thank you so much for the quick response :)