细节处理
This commit is contained in:
@@ -35,6 +35,8 @@ public class SingleToastUtil {
|
||||
|
||||
@Deprecated
|
||||
public static void showToast(Context mContext, final String s, final int length) {
|
||||
//先解决问题再说,不弹这种没意义的错误
|
||||
if ("网络错误".equals(s)) return;
|
||||
ToastUtils.show(s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user