Closed klps5603 closed 2 months ago
可能是嵌套滑动的事件断了,你可以试一下在ConsecutiveScrollerLayout的onTouchEvent方法的ACTION_MOVE加一下这段代码 if (!hasNestedScrollingParent(ViewCompat.TYPE_TOUCH)) { startNestedScroll(ViewCompat.SCROLL_AXIS_VERTICAL, ViewCompat.TYPE_TOUCH); }
如果你没有引用源码,你可以通过继承ConsecutiveScrollerLayout来修改
最後實務上不需要 AppBarLayout 了,因此沒用上大大的解法,這題先到這裡,謝謝
您好,我的佈局大致如下
view_pager_home_recommend 往上滑到離頂部一段距離,會卡住不能滑到頂,放開手再滑才能繼續往上滑 看起來需要往上滑,超過一段距離才正常,請問要如何只滑動 view_pager_home_recommend 的前提下,順暢的捲動到吸頂狀態