From e6793b366500aee185ffd4645816ed141a4e19e6 Mon Sep 17 00:00:00 2001 From: gaoxx <745570899@qq.com> Date: Tue, 28 Feb 2017 10:47:03 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=9B=BE=E7=89=87=E5=8F=B3=E4=B8=8A?= =?UTF-8?q?=E8=A7=92=E6=89=93=E9=92=A9=EF=BC=8C=E9=83=BD=E4=BC=9A=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E9=97=AA=E7=83=81=EF=BC=8C=E9=87=8D=E6=96=B0=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lzy/imagepicker/ui/ImageGridActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagepicker/src/main/java/com/lzy/imagepicker/ui/ImageGridActivity.java b/imagepicker/src/main/java/com/lzy/imagepicker/ui/ImageGridActivity.java index ed3be48..9d9874e 100644 --- a/imagepicker/src/main/java/com/lzy/imagepicker/ui/ImageGridActivity.java +++ b/imagepicker/src/main/java/com/lzy/imagepicker/ui/ImageGridActivity.java @@ -222,7 +222,7 @@ public void onImageSelected(int position, ImageItem item, boolean isAdd) { mBtnPre.setEnabled(false); } mBtnPre.setText(getResources().getString(R.string.preview_count, imagePicker.getSelectImageCount())); - mImageGridAdapter.notifyDataSetChanged(); + } @Override