Skip to content

Commit

Permalink
Create PictureImageGridAdapter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
viqbgrg authored Jun 15, 2017
1 parent ea3b9ca commit f00d922
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ private void notifyCheckChanged(ViewHolder viewHolder, LocalMedia imageBean) {
private void changeCheckboxState(ViewHolder contentHolder, LocalMedia image) {
boolean isChecked = contentHolder.check.isSelected();
String pictureType = selectImages.size() > 0 ? selectImages.get(0).getPictureType() : "";
boolean eqImg = pictureType.startsWith(PictureConfig.IMAGE);
if (!TextUtils.isEmpty(pictureType)) {
boolean toEqual = PictureMimeType.mimeToEqual(pictureType, image.getPictureType());
if (!toEqual) {
Expand Down

0 comments on commit f00d922

Please sign in to comment.