一般是scollview或者NestedScrollView嵌套recyclerView會出現這種情況,
解決:
1、只要在scollview外面嵌套
android:focusable="true"
android:focusableInTouchMode="true"
2、在scollview裏面的LinearLayout一層加
android:descendantFocusability="blocksDescendants"
一般是scollview或者NestedScrollView嵌套recyclerView會出現這種情況,
解決:
1、只要在scollview外面嵌套
android:focusable="true"
android:focusableInTouchMode="true"
2、在scollview裏面的LinearLayout一層加
android:descendantFocusability="blocksDescendants"