You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to test this project, but as the author said, it is deprecated, so I've worked on my implementation of the sticky headers still using a custom ItemDecoration but with a lot of advantages...
The project is https://github.com/davideas/FlexibleAdapter. Adding, removing, dragging items are also covered, header is automatically re-linked to the item below.
EDIT of 29/03/2016
Sticky Headers are now clickable using same listeners of the ViewHolder, not using anymore ItemDecoration. A FrameLayout is instead used.
Finally, I agree with the author when he says that ItemDecoration is not the good way for sticky headers, and a custom LayoutManager or a ViewGroup should handle the HeaderView object. So I am searching help for this. The project SuperSlim is based on the LayoutManager, but it is a huge library: ~3400 lines for sections and sticky headers only(!?). However I did not test it for compatibility with my project.
The text was updated successfully, but these errors were encountered:
I wanted to test this project, but as the author said, it is deprecated, so I've worked on my implementation of the sticky headers still using a custom
ItemDecoration
but with a lot of advantages...The project is https://github.com/davideas/FlexibleAdapter. Adding, removing, dragging items are also covered, header is automatically re-linked to the item below.
For information, I've also written an answer at this question: http://stackoverflow.com/questions/33018788/how-can-i-set-a-listener-inside-a-recyclerview-header-decor
EDIT of 29/03/2016
Sticky Headers are now clickable using same listeners of the ViewHolder, not using anymore
ItemDecoration
. AFrameLayout
is instead used.Finally, I agree with the author when he says that ItemDecoration is not the good way for sticky headers, and a custom LayoutManager or a ViewGroup should handle the HeaderView object. So I am searching help for this. The project SuperSlim is based on the LayoutManager, but it is a huge library: ~3400 lines for sections and sticky headers only(!?). However I did not test it for compatibility with my project.
The text was updated successfully, but these errors were encountered: