예제 #1
0
 /** 对话框 - 显示 */
 protected void showLoadingDialog(String text) {
   if (text != null) {
     mLoadingDialog.setText(text);
   }
   mLoadingDialog.show();
   mLoadingDialog.setCanceledOnTouchOutside(false);
 }
예제 #2
0
 /** 对话框-消失 */
 protected void dismissLoadingDialog() {
   if (mLoadingDialog.isShowing()) {
     mLoadingDialog.dismiss();
   }
 }