1.recyclerView.setFocusableInTouchMode(false);
2.recyclerView.setFocusable(false);
3.setHasFixedSize(true);
4.把recyclerview 高度設爲match_parent就解決了.....
總結 Recycleview不獲取焦點即可解決此問題;
1.recyclerView.setFocusableInTouchMode(false);
2.recyclerView.setFocusable(false);
3.setHasFixedSize(true);
4.把recyclerview 高度設爲match_parent就解決了.....
總結 Recycleview不獲取焦點即可解決此問題;