diff --git a/picture_library/src/main/java/com/luck/picture/lib/adapter/PictureImageGridAdapter.java b/picture_library/src/main/java/com/luck/picture/lib/adapter/PictureImageGridAdapter.java index b72f9fb3b..f19378bd4 100644 --- a/picture_library/src/main/java/com/luck/picture/lib/adapter/PictureImageGridAdapter.java +++ b/picture_library/src/main/java/com/luck/picture/lib/adapter/PictureImageGridAdapter.java @@ -366,6 +366,8 @@ private void dispatchHandleMask(ViewHolder contentHolder, LocalMedia item) { item.setMaxSelectEnabledMask(!isSelected && getSelectedSize() == config.maxSelectNum); } } + } else { + item.setMaxSelectEnabledMask(false);// reset mask state } } }