Skip to content

Commit

Permalink
Merge pull request #7 from HugoGresse/develop
Browse files Browse the repository at this point in the history
Fix last issue not really resolved (NPE on stop)
  • Loading branch information
HugoGresse committed Dec 17, 2015
2 parents e4cfe66 + 48ac18f commit e4f0f07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vumeterlibrary/build.gradle
Expand Up @@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 23
versionCode 13
versionName "1.0.12"
versionCode 15
versionName "1.0.14"
}
buildTypes {
release {
Expand Down
Expand Up @@ -323,6 +323,9 @@ public void stop(boolean withAnimation){
}

for(int i = 0; i < mBlockNumber; i++){
if(mDestinationValues[i] == null){
continue;
}
if(withAnimation){
mDestinationValues[i].setTargetPosition(collapseSize);
} else {
Expand Down

0 comments on commit e4f0f07

Please sign in to comment.