From 3e5a621d5a43976e54672cfa0a00ec8931ee9f35 Mon Sep 17 00:00:00 2001 From: cgspine Date: Sun, 8 Mar 2020 15:28:53 +0800 Subject: [PATCH] remove QMUIBottomSheet's overScrollMode. --- .../java/com/qmuiteam/qmui/widget/dialog/QMUIBottomSheet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/qmui/src/main/java/com/qmuiteam/qmui/widget/dialog/QMUIBottomSheet.java b/qmui/src/main/java/com/qmuiteam/qmui/widget/dialog/QMUIBottomSheet.java index e17959f07..93e6e7cca 100644 --- a/qmui/src/main/java/com/qmuiteam/qmui/widget/dialog/QMUIBottomSheet.java +++ b/qmui/src/main/java/com/qmuiteam/qmui/widget/dialog/QMUIBottomSheet.java @@ -407,6 +407,7 @@ protected View onCreateContentView(@NonNull final QMUIBottomSheet bottomSheet, @NonNull QMUIBottomSheetRootLayout rootLayout, @NonNull Context context) { RecyclerView recyclerView = new RecyclerView(context); + recyclerView.setOverScrollMode(RecyclerView.OVER_SCROLL_NEVER); QMUIBottomSheetListAdapter adapter = new QMUIBottomSheetListAdapter( mNeedRightMark, mGravityCenter); recyclerView.setAdapter(adapter);