我想显示 ProgressDialog 但 ProgressDialog 从未真正呈现!我想结束这个过程以开始下一个状态。这是我的代码:
ProgressDialog waitProgressDialog = new ProgressDialog(getContext());
waitProgressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
waitProgressDialog.setMessage("please wait..");
waitProgressDialog.setOnShowListener(new OnShowListener() {
@Override
public void onShow(DialogInterface dialog) {
ExirDebugger.println("----------TEST999999 START");
///same sqlit datasouce select
ExirDebugger.println("----------TEST999999 END");
}
});
waitProgressDialog.show();
android 在所有工作结束时不渲染任何东西!谁能帮我?