子线程里面不能弹Toast?怎么做
1,用轮询方法即可
Looper.prepare();
Toast.makeText(MainActivity.this,"helloworld",Toast.LENGTH_SHORT).show();
Looper.loop();
链接:https://blog.csdn.net/fisheryujie/article/details/81544909
1,用轮询方法即可
Looper.prepare();
Toast.makeText(MainActivity.this,"helloworld",Toast.LENGTH_SHORT).show();
Looper.loop();
链接:https://blog.csdn.net/fisheryujie/article/details/81544909