谁能告诉我,为什么下面的对话框不显示,直到异步线程完成。我无法弄清楚这一点。这是在主UI线程中运行的。不知道为什么一个新的线程会影响到主UI线程非同步线程停止主UI线程
dialog = new ProgressDialog(this);
dialog.show();
new Thread(new Runnable() {
public void run() {
while(imageLoader.isProcessing()) {}
doSomething();
}
}).run();
我应该知道这个..谢谢。 – akupun 2011-04-27 12:05:36