/** Close progress dialog. */ public static void closeIPhoneProgressDialog() { if (progressDialogHUD != null && progressDialogHUD.isShowing()) { progressDialogHUD.dismiss(); progressDialogHUD = null; } }
/** * 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); }