Exemplo n.º 1
0
 /** Close progress dialog. */
 public static void closeIPhoneProgressDialog() {
   if (progressDialogHUD != null && progressDialogHUD.isShowing()) {
     progressDialogHUD.dismiss();
     progressDialogHUD = null;
   }
 }
Exemplo n.º 2
0
 /**
  * Show i phone progress dialog.
  *
  * @param context the context
  * @param message the message
  * @param isCancelable the is cancelable
  */
 public static void showIPhoneProgressDialog(
     Context context, String message, boolean isCancelable) {
   progressDialogHUD = ProgressHUD.show(context, message, isCancelable);
 }