Skip to content

Commit

Permalink
fix Piasy#180
Browse files Browse the repository at this point in the history
  • Loading branch information
Piasy committed Oct 25, 2019
1 parent df7453d commit 32ece46
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ public void onClick(final View v) {
// Retry loading when failure image is clicked
if (mTapToRetry) {
showImage(mThumbnail, mUri);
}
if (mOnClickListener != null) {
} else if (mOnClickListener != null) {
mOnClickListener.onClick(v);
}
}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Change log

+ v1.6.1
- Update click handling, fix #180;
+ v1.6.0
- Experimental support for shared element transition;
+ v1.5.7
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ allprojects {
}
}
implementation 'com.github.piasy:BigImageViewer:1.6.0'
implementation 'com.github.piasy:BigImageViewer:1.6.1'
// load with fresco
implementation 'com.github.piasy:FrescoImageLoader:1.6.0'
implementation 'com.github.piasy:FrescoImageLoader:1.6.1'
// load with glide
implementation 'com.github.piasy:GlideImageLoader:1.6.0'
implementation 'com.github.piasy:GlideImageLoader:1.6.1'
// progress pie indicator
implementation 'com.github.piasy:ProgressPieIndicator:1.6.0'
implementation 'com.github.piasy:ProgressPieIndicator:1.6.1'
// support thumbnail, gif and webp with Fresco
implementation 'com.github.piasy:FrescoImageViewFactory:1.6.0'
implementation 'com.github.piasy:FrescoImageViewFactory:1.6.1'
// support thumbnail and gif with Glide
implementation 'com.github.piasy:GlideImageViewFactory:1.6.0'
implementation 'com.github.piasy:GlideImageViewFactory:1.6.1'
```

### Initialize
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ext {
'Image View, Fresco, Glide, and Picasso.'
artifactLabels = ['big', 'image', 'viewer', 'Fresco', 'Glide', 'Picasso']
releaseVersionCode = 35
releaseVersionName = '1.6.0'
releaseVersionName = '1.6.1'

androidCompileSdkVersion = 29
androidBuildToolsVersion = '29.0.2'
Expand Down

0 comments on commit 32ece46

Please sign in to comment.