如何在单独的 UI 线程中显示 ProgressDialog?
我有以下代码:
public boolean myMethod() {
// show here ProgressDialog in thread
// long operation, MUST BE NOT in thread, as there's a return value...
return value;
}
使用处理程序,线程,AsyncTask 没有帮助......
有什么方法可以在单独的线程中运行 ProgressDialog 并在主线程中运行主(长)操作?
谢谢,