1.设置属性:
android:descendantFocusability="afterDescendants"
2.RecyclerView.requestFocus()
3.记住一要在RecyclerView已经初始化完并且可见的情况下requestFocus才有效
1.设置属性:
android:descendantFocusability="afterDescendants"
2.RecyclerView.requestFocus()
3.记住一要在RecyclerView已经初始化完并且可见的情况下requestFocus才有效