是否可以在 ProgressDialog 运行时显示 Toast?如果是,有一些关于如何做的例子吗?
谢谢。
我当前的代码不起作用:
final ProgressDialog pd = ProgressDialog.show(
BotonesServicio.this, "Medidas",
"Comprobando datos");
new Thread(new Runnable() {
public void run() {
Toast.makeText(FacturasIFirmar.this,
"Trying to show toast", Toast.LENGTH_LONG)
.show();
pd.dismiss();
}
}).start();