设备信息:小米,MI MAX 3,MIUI 9.6.7.0,安卓 8.1.0
小米手机新系统,应用toast自带应用名,如:“应用名:toast信息”
需要先给toast的message设置为空,然后再设置需要提示的message
Toast toast = Toast.makeText(context, “”, Toast.LENGTH_LONG);
toast.setText(message);
toast.show();
设备信息:小米,MI MAX 3,MIUI 9.6.7.0,安卓 8.1.0
小米手机新系统,应用toast自带应用名,如:“应用名:toast信息”
需要先给toast的message设置为空,然后再设置需要提示的message
Toast toast = Toast.makeText(context, “”, Toast.LENGTH_LONG);
toast.setText(message);
toast.show();