|
@@ -35,12 +35,7 @@ public class ToastUtil {
|
|
|
* 创建自定义Toasts :
|
|
|
*/
|
|
|
public void show(Context context, String toastStr) {
|
|
|
- if (init(toastStr, Toast.LENGTH_SHORT) == null) {
|
|
|
- toast = new Toast(Utils.getApp());
|
|
|
- toast.setText(toastStr);
|
|
|
- toast.setDuration(Toast.LENGTH_SHORT);
|
|
|
- toast.show();
|
|
|
- }
|
|
|
+ showShort(toastStr);
|
|
|
}
|
|
|
|
|
|
/**
|