We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b5149 commit 6a2d16cCopy full SHA for 6a2d16c
1 file changed
library/src/main/java/com/hjq/toast/SystemToast.java
@@ -4,7 +4,6 @@
4
import android.view.View;
5
import android.widget.TextView;
6
import android.widget.Toast;
7
-
8
import com.hjq.toast.config.IToast;
9
10
/**
@@ -35,8 +34,9 @@ public void setView(View view) {
35
34
36
@Override
37
public void setText(CharSequence text) {
38
- super.setText(text);
39
if (mMessageView == null) {
+ // Github issue 地址:https://github.com/getActivity/Toaster/issues/160
+ super.setText(text);
40
return;
41
}
42
mMessageView.setText(text);
0 commit comments