Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed Dec 17, 2018
1 parent 6438ada commit fe00ecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ public boolean isIndeterminate() {
* Indeterminate mode, disabled by default
*/
public void setIndeterminate(final boolean indeterminate) {
cancelProgressAnimation();
cancelIndeterminateAnimations();
mIndeterminate = indeterminate;
invalidate();
if (mVisible && indeterminate) {
cancelProgressAnimation();
startIndeterminateAnimations();
}
}
Expand Down

0 comments on commit fe00ecd

Please sign in to comment.