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

StickyHeaders for GridLayoutManager #452

Closed
hendrawd opened this issue Jun 8, 2017 · 7 comments
Closed

StickyHeaders for GridLayoutManager #452

hendrawd opened this issue Jun 8, 2017 · 7 comments
Assignees
Labels

Comments

@hendrawd
Copy link

hendrawd commented Jun 8, 2017

How to categorize StickyHeaders for GridLayoutManager? So the header will be match parent and content span count will be 3

Result:

Expected:

And is it possible to combine sticky header and fast scroller with this library?

@mikepenz
Copy link
Owner

mikepenz commented Jun 8, 2017

@hendrawd as noted the StickyHeadeR is a external library. I do not think they have support currently for grids.

@mikepenz
Copy link
Owner

mikepenz commented Jun 8, 2017

And yes it is possible to combine the two

@mikepenz mikepenz self-assigned this Jun 8, 2017
@hendrawd
Copy link
Author

hendrawd commented Jun 8, 2017

Yes actually timehop/sticky-headers-recyclerview#106 has fix for gridview, i am trying it now

@mikepenz
Copy link
Owner

mikepenz commented Jun 9, 2017

Ok great :)

@mikepenz mikepenz closed this as completed Jun 9, 2017
@ClarkXP
Copy link

ClarkXP commented Dec 3, 2018

@hendrawd I'm having the same issue, what was your workaround for this?

@hendrawd
Copy link
Author

hendrawd commented Dec 4, 2018

@ClarkXP To be honest my attempt to fix that failed, and I changed to https://github.com/FutureMind/recycler-fast-scroll and implement https://github.com/FutureMind/recycler-fast-scroll/blob/master/fastscroll/src/main/java/com/futuremind/recyclerviewfastscroll/SectionTitleProvider.java , but the library is not active(last update 2 years ago), you might want to consider that.

@ClarkXP
Copy link

ClarkXP commented Dec 9, 2018

@hendrawd I did successfully implement stickyheader with fastadapter, My workaround was fill the grid with empty items after section's end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants