|
|
@ -8,7 +8,7 @@ import cn.hutool.core.util.StrUtil; |
|
|
|
public class Toasts { |
|
|
|
public class Toasts { |
|
|
|
|
|
|
|
|
|
|
|
public static void shortShow(Context context, String msg) { |
|
|
|
public static void shortShow(Context context, String msg) { |
|
|
|
shortShow(context, msg, null); |
|
|
|
shortShow(context, msg, ""); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void shortShow(Context context, String msg, String... params) { |
|
|
|
public static void shortShow(Context context, String msg, String... params) { |
|
|
@ -16,7 +16,7 @@ public class Toasts { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void longShow(Context context, String msg) { |
|
|
|
public static void longShow(Context context, String msg) { |
|
|
|
longShow(context, msg, null); |
|
|
|
longShow(context, msg, ""); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void longShow(Context context, String msg, String... params) { |
|
|
|
public static void longShow(Context context, String msg, String... params) { |
|
|
|