@Override protected void onPreExecute() { super.onPreExecute(); if (activity.getParent() != null && !activity.getParent().isFinishing()) { pd = ProgressDialogStyle.createLoadingDialog(activity.getParent(), null); pd.show(); } }
@Override protected void onPreExecute() { if (isFirst) { pd = ProgressDialogStyle.createLoadingDialog(context, null); pd.show(); isFirst = false; } }
protected void onPreExecute() { pd = ProgressDialogStyle.createLoadingDialog(QueryDetailActivity.this, "正在加载数据,请稍候..."); pd.show(); }