NestedScrolView嵌套RecyclerView滑动到底部view,第一次无法点击

这是我的老代码,别喷!item快速滑动到底部第一次无法点击底部item,第二次就能点击
百度了一下,发现这是NestedScrolView以为还在滑动中
参考解决:https://blog.csdn.net/ganyao939543405/article/details/80651582
我的解决是把这段神奇的view:NestedScrollView去掉

<com.scwang.smartrefresh.layout.SmartRefreshLayout
        android:id="@+id/my_task_smart"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:srlEnableLoadMore="false">

        <android.support.v4.widget.NestedScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">

                <android.support.v7.widget.RecyclerView
                    android:id="@+id/my_task_recycle"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content" />

            </LinearLayout>
        </android.support.v4.widget.NestedScrollView>
    </com.scwang.smartrefresh.layout.SmartRefreshLayout>
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。