Skip to content

Commit

Permalink
upgrade to v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wingjay committed Aug 25, 2016
1 parent 3152a5f commit 7bdae8a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.0
1. Add error handling for small & big image loading failure

## v1.1
1. Show loading progressBar upon the blurry image
2. Improve sample code for other developers
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ dependencies {
blurImageView.setBlurFactor(blurFactor);
```
This can set the factor of blurry, default 8 - 10.
```java
blurImageView.setFailDrawable(Drawable failDrawable);
blurImageView.setDefaultDrawable(Drawable defaultDrawable);
```
Configure your own drawable for loading failure & default. Use null to remove them.



###Related resource
Thanks for the algorithms: `Stack Blur`: http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html
Expand Down
File renamed without changes.
File renamed without changes
6 changes: 3 additions & 3 deletions blurimageviewlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'
// Remember update version when library updates
version = "1.1.0"
version = "2.0.0"

android {
resourcePrefix "wingjay_"
Expand All @@ -12,7 +12,7 @@ android {

defaultConfig {
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
Expand Down Expand Up @@ -53,7 +53,7 @@ install {
developer {
id 'wingjay' //填写开发者基本信息
name 'wingjay'
email 'wingjaysjtu@gmail.com'
email 'yinjiesh@126.com'
}
}
scm {
Expand Down

0 comments on commit 7bdae8a

Please sign in to comment.