Android 回收器视图23.2.0 fling滚动

Android 回收器视图23.2.0 fling滚动,android,android-recyclerview,Android,Android Recyclerview,在将recycler视图更新到23.2.0之后,我注意到fling滚动不再像以前那样工作了。我没有改变任何其他代码,除了适应新的自动调整大小的回收视图。还有其他人面临过类似的问题吗 这是我的密码: XML: 我面临着类似的问题。我在活动布局中替换了NestedScrollView: <android.support.v4.widget.NestedScrollView android:id="@+id/fragment_container" android:layout_w

在将recycler视图更新到23.2.0之后,我注意到fling滚动不再像以前那样工作了。我没有改变任何其他代码,除了适应新的自动调整大小的回收视图。还有其他人面临过类似的问题吗

这是我的密码:

XML:


我面临着类似的问题。我在活动布局中替换了NestedScrollView:

<android.support.v4.widget.NestedScrollView
    android:id="@+id/fragment_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:layout_behavior="@string/appbar_scrolling_view_behavior" />

要查看框架布局,请执行以下操作:

<FrameLayout
    android:id="@+id/fragment_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior" />

注:此代码适用于支持库版本23.2.1。

此代码适用于我:

mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false) {

        @Override
        public boolean canScrollHorizontally() {
            return false;
        }

        @Override
        public boolean canScrollVertically() {
            return false;
        }
    });
<FrameLayout
    android:id="@+id/fragment_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior" />
mRecyclerView.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.VERTICAL, false) {

        @Override
        public boolean canScrollHorizontally() {
            return false;
        }

        @Override
        public boolean canScrollVertically() {
            return false;
        }
    });