【发布时间】:2016-11-12 07:31:36
【问题描述】:
我对此进行了很多研究,但找不到任何东西我应该在我的进度对话框中使用异步任务,或者由于 super.show(); 可能会显示重复的对话框。请参考上图
下面是我的代码:
private ProgressDialog m_dialog = null;
if (m_dialog == null){
m_dialog = new Dialog(...); // initiate it the way you need
m_dialog.show();
}
else if (!m_dialog.isShowing()){
m_dialog.show();
}
【问题讨论】: