-
Notifications
You must be signed in to change notification settings - Fork 126
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
Support for AppBarLayout / CoordinatorLayout #20
Comments
A solution would be to implement the whole scrollbar logic in a CoordinatorLayout behavior. This would also remove the hierarchy requirements (no more issues with RelativeLayouts and giving ids). |
@krimin-killr21 Any workaround for this? |
@Rhedox Seems great idea. Can you post code or way to do it? |
I think that would require a rewrite of the complete library. If youre interested heres information on how to implement the behavior. https://lab.getbase.com/nested-scrolling-with-coordinatorlayout-on-android/ |
I'll look into it this weekend. I'm in the process of managing my entrance into university this fall so I've been pressed with time, but I'll do my best :) |
@krimin-killr21 Is this fixed? |
Sorry, closed the wrong issue |
@krimin-killr21 Refer this code for adding |
Any plans on fixing this @turing-tech ? Or any suggestion on how we can get this working? I tried a few tricks but can't get this working in a satisfactory way |
@MFlisar It is important, but unfortunately I have a significant workload as I'm working full-time as developer for a start-up. I will continue to fix critical issue, but anything beyond that I can't really work on right now. Hopefully when my work load goes back down I'll have time to fix all of the bugs. If any of you would like to submit a PR I'd be happy to take a look. |
I tried a simple trick by putting the scrollbar outside of the coordinator like following:
Problem: the problem here is that the scrollbar is consuming all touch events over the complete recycler view. Can I currently limit the scrollbar to only catch touches on the bar? I don't think so as far as I've seen... Above would be no full solution but a fast work around for now at least |
Hey @krimin-killr21
The
AppBarLayout
is used to perform scrolling techniques one of which is Showing and HidingToolbar
on scroll which affects theScrollBar
.I'll try to provide screenshot of this issue for better understanding. You can look this issue to understand the problem pluscubed/recycler-fast-scroll#4
The text was updated successfully, but these errors were encountered: