From de71cef7c363a7617c34bb87d82154748a834e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8F=B6=E9=A3=98=E8=88=9F?= Date: Wed, 29 Mar 2017 11:23:39 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index cf6aba4..521c96f 100644 --- a/README.md +++ b/README.md @@ -493,6 +493,10 @@ mLRecyclerViewAdapter.addFooterView(new SampleFooter(this)); 2.不要SwipeRefreshLayout与LRecyclerView一起使用,会有冲突,为了更好的满足广大用户,新增了LuRecyclerView类,可以与SwipeRefreshLayout搭配使用,详细请参考SwipeRefreshLayoutActivity类的实现。 +3.关于RecyclerView自动滑动的问题 + +这个自动滑动归根结底是焦点问题,子item有焦点,导致RecyclerView自动滑动到了子item,在根布局上加了android:descendantFocusability="blocksDescendants",根view来处理焦点,不传给子view就能解决问题。 + ## LRecyclerView的应用 效果图: