Skip to content

Commit

Permalink
finx bug:Restarting Progress bar does not animate #5
Browse files Browse the repository at this point in the history
  • Loading branch information
lsjwzh committed Apr 27, 2015
1 parent c44a28e commit 5417e29
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,10 @@ public void setVisibility(int visibility) {
if (mProgressDrawable != null) {
if(visibility!=VISIBLE) {
mProgressDrawable.stop();
}else{
mProgressDrawable.start();
mProgressDrawable.setVisible(visibility == VISIBLE, false);
}
mProgressDrawable.setVisible(visibility == VISIBLE, false);
}
}

Expand Down

0 comments on commit 5417e29

Please sign in to comment.