File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
FloatingViewLib/src/main/java/com/ufreedom/floatingview/spring Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public class SpringHelper {
2222 private float endValue ;
2323 private double configValueOne ;
2424 private double configValueTwo ;
25- private int config ;
25+ private int config = - 1 ;
2626 private ReboundListener reboundListener ;
2727 private SpringListener springListener ;
2828
@@ -109,7 +109,7 @@ public void onSpringUpdate(Spring spring) {
109109
110110 public void start (final YumFloating yumFloating ){
111111 if (config == -1 ){
112- throw new IllegalStateException ("Hi , You mast call one of the method configBouncinessAndSpeed and configTensionAndFriction to make config" );
112+ throw new IllegalStateException ("Hi , You must call one of the method configBouncinessAndSpeed and configTensionAndFriction to make config" );
113113 }
114114
115115 Spring spring = null ;
You can’t perform that action at this time.
0 commit comments