-
Notifications
You must be signed in to change notification settings - Fork 600
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
BilibiliActivity 模块 的recycleview 下拉刷新有明显卡顿 #165
Labels
Comments
你好,由于item里面嵌套了RecyclerView,导致了滑动冲突,目前没有好的解决方案!demo仅作展示,如果你有好的解决方案,欢迎提出! |
我用了下@wuzhenhai 提供的方法,在LRecycleView上方同级的位置加了个高度0dp的RecycleView就解决了滑动冲突,请大神有时间分析下什么怎么回事 |
在lrecyclerview里加上android:descendantFocusability="blocksDescendants"试下 |
还可以试试不让内部的recycleview的自动获取焦点: recycleview.isFocusable = false
recycleview.isFocusableInTouchMode = false |
@libin1993 我用你的方案解决了,在根view加你这一句 |
@libin1993 可以的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
手机版本是4.4,下拉刷新BilibiliActivity 里的recycleview 有明显的卡顿
The text was updated successfully, but these errors were encountered: