-
Notifications
You must be signed in to change notification settings - Fork 551
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
Manually setting stickyContainer ViewGroup #179
Comments
@Aselox, thank you for this message, I will need to try myself this solution, in this period I'm quite busy, but in case, you will do a pull request after my tests. |
@Aselox, I think it is a good solution, you can create a PR. I will initially publish it as SNAPSHOT, then it will be released for the rc1. |
Be aware that, with the next Snapshot, the new just added set method will be deprecated as well. There will be only a FrameLayout that wraps RV, but I'm trying to reparent the RV by creating the FrameLayout at runtime. @borisdamato, if you have an idea how to reparent the RecyclerView, I will appreciate. |
I'm implementing sticky headers to recyclerviews inside multiple fragments in a viewpager and as #70 points out, there are some problems between viewpager and stickyheader.
The solution I found myself is to extend the FlexibleAdapter class and pass it a ViewGroup object which will then be returned by the overridden
getStickySectionHeadersHolder
method.I think this could be a good solution which should be included into the library itself.
I think we should add the method
and then modify the getStickySectionHeadersHolder method
@davideas what do you think about it? I can make a pull request if you want
The text was updated successfully, but these errors were encountered: