We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当id_stickynavlayout_topview包含可以左右滑动的RecyclerView时,左右滑动recyclerView会导致头部topview缩回。看了一下StickyNavLayout中下面这几行代码导致了topview缩回。
if (velocityY >= 0) { mOffsetAnimator.setIntValues(currentOffset, topHeight); mOffsetAnimator.start(); }
velocityY > 0 或者注释掉 mOffsetAnimator.start();可以解决。但似乎破坏了velocityY>=0时上滑的动画逻辑? 看了一下这里的代码是后来模仿AppLayoutBar merge进来的,是不是还有一点问题。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当id_stickynavlayout_topview包含可以左右滑动的RecyclerView时,左右滑动recyclerView会导致头部topview缩回。看了一下StickyNavLayout中下面这几行代码导致了topview缩回。
velocityY > 0 或者注释掉 mOffsetAnimator.start();可以解决。但似乎破坏了velocityY>=0时上滑的动画逻辑?
看了一下这里的代码是后来模仿AppLayoutBar merge进来的,是不是还有一点问题。
The text was updated successfully, but these errors were encountered: