1: 嵌套: descendantFocusability
2: implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.50
3: 更改layout
mLinearLayoutManager = new MyRecycleLayoutManager(context);
mLinearLayoutManager.setStackFromEnd(true);
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/sr_refresh"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never">
<LinearLayout
android:id="@+id/lly_recycle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:descendantFocusability="blocksDescendants">
<com.sensethink.leaplinker.ui.layout.MyRecycleView
android:id="@+id/rc_chat_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="never"
android:scrollbars="none"
/>
</LinearLayout>
</android.support.v4.widget.SwipeRefreshLayout>