Skip to content

Commit c213af1

Browse files
committed
Fixed npe
1 parent 5eca9dc commit c213af1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/src/main/java/com/github/nikartm/support/StripedProcessButton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
public class StripedProcessButton extends AppCompatButton implements Animatable {
1717

1818
private AnimatedStripedDrawable stripedDrawable;
19-
private State state;
19+
private State state = State.STOP;
2020

2121
private long startAnimDuration = Constants.NO_INIT;
2222
private long stopAnimDuration = Constants.NO_INIT;

0 commit comments

Comments
 (0)