Exemple #1
0
 /**
  * 用户操作,取消分享
  *
  * @return 是否成功取消等待提示框
  */
 public static boolean cancelShare() {
   if (waitProgressDialog.isShowing()) { // 取消下载
     waitProgressDialog.dismiss();
     waitProgressDialog = null;
     return true;
   }
   return false;
 }
Exemple #2
0
 /**
  * 取消分享
  *
  * @return 是否成功取消等待提示框
  */
 public static boolean dismissWatiTinyUrlDialog() {
   if (waitTinyUrlDialog != null) {
     waitTinyUrlDialog.cancel();
     waitTinyUrlDialog.dismiss();
     waitTinyUrlDialog = null;
     return true;
   }
   return false;
 }