提交 5854faef 编写于 作者: B Blankj

see 05/31 log

上级 b85761a1
......@@ -7,14 +7,14 @@ A clear and concise description of what the bug is.
**The version of device: [e.g. API 27]**
**The code: **
**The code:**
[e.g.
```java
CrashUtils.init();
```
]
**The stack of crash: **
**The stack of crash:**
[e.g.
```
Caused by: java.lang.NullPointerException: u should init first
......
package com.blankj.utilcode.util;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.ContextWrapper;
import android.graphics.Color;
......@@ -238,6 +239,7 @@ public final class ToastUtils {
private static void show(final CharSequence text, final int duration) {
HANDLER.post(new Runnable() {
@SuppressLint("ShowToast")
@Override
public void run() {
cancel();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册