示例#1
0
 public boolean loadingDialogIsShowing() {
   if (mLoadingDialog == null) {
     return false;
   }
   return mLoadingDialog.isShowing();
 }
示例#2
0
 public void hideLoadingDialog() {
   if (mLoadingDialog != null && mLoadingDialog.isShowing()) {
     mLoadingDialog.dismiss();
     mLoadingDialog = null;
   }
 }
示例#3
0
 public void setCancelable(boolean flag) {
   if (mLoadingDialog != null) {
     mLoadingDialog.setCancelable(flag);
   }
 }
示例#4
0
 public void showLoadingDialog() {
   hideLoadingDialog();
   mLoadingDialog = new CommonLoadingDialog(getActivity());
   mLoadingDialog.show();
 }