timehop / sticky-headers-recyclerview

[UNMAINTAINED] Sticky Headers decorator for Android's RecyclerView
Apache License 2.0
3.74k stars 755 forks source link

Less than 3 items under a header causes it to overlap with the next header #96

Open CrazyOrr opened 9 years ago

CrazyOrr commented 9 years ago

After debugging for a while, it seems that it needs at least 3 items to push the header in the actually "sticky" position.

jacobtabak commented 9 years ago

Please provide a sample that demonstrates the behavior if you'd like me to look into it - or if you've found a workaround we can close the issue.

CrazyOrr commented 8 years ago

It's in your demo with the items under header "X", you can try that out.

xu6148152 commented 8 years ago

I have the same problem

trustratch commented 8 years ago

Yo guys! I've found the way to fix this issue. check that your recyclerview's width is not "wrap_content" after i changed width to "match_parent" it works perfectly!

vivianyan0818 commented 7 years ago

I have the same problem

fay77 commented 4 years ago

Yo guys! I've found the way to fix this issue. check that your recyclerview's width is not "wrap_content" after i changed width to "match_parent" it works perfectly!

not work