File tree 1 file changed +3
-4
lines changed
utilcode/src/main/java/com/blankj/utilcode/util
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5
5
import android .support .annotation .IntDef ;
6
6
import android .support .annotation .LayoutRes ;
7
7
import android .support .annotation .Nullable ;
8
- import android .support .design .widget .BaseTransientBottomBar ;
9
8
import android .support .design .widget .Snackbar ;
10
9
import android .text .SpannableString ;
11
10
import android .text .Spanned ;
@@ -30,11 +29,11 @@ public final class SnackbarUtils {
30
29
31
30
private static final int DEFAULT_COLOR = 0x12000000 ;
32
31
33
- public static final int LENGTH_INDEFINITE = BaseTransientBottomBar . LENGTH_INDEFINITE ;
32
+ public static final int LENGTH_INDEFINITE = - 2 ;
34
33
35
- public static final int LENGTH_SHORT = BaseTransientBottomBar . LENGTH_SHORT ;
34
+ public static final int LENGTH_SHORT = - 1 ;
36
35
37
- public static final int LENGTH_LONG = BaseTransientBottomBar . LENGTH_LONG ;
36
+ public static final int LENGTH_LONG = 0 ;
38
37
39
38
@ IntDef ({LENGTH_INDEFINITE , LENGTH_SHORT , LENGTH_LONG })
40
39
@ Retention (RetentionPolicy .SOURCE )
You can’t perform that action at this time.
0 commit comments