List of usage examples for android.app ProgressDialog dismiss
@Override public void dismiss()
From source file:Main.java
public static void dismissProgressDialog(ProgressDialog progressDialog) { progressDialog.dismiss(); }
From source file:Main.java
public static void stopProgressBar(ProgressDialog dialog) { dialog.dismiss(); }
From source file:Main.java
public static void hidePDialog(ProgressDialog pDialog) { if (pDialog != null) { pDialog.dismiss(); } }
From source file:Main.java
public static void dismissDialog(ProgressDialog infoDialog) { if (infoDialog != null) { infoDialog.dismiss(); } }
From source file:Main.java
public static void closeDialog(ProgressDialog dialog) { if (dialog != null && dialog.isShowing()) { dialog.dismiss(); }/*from www . j ava 2s . co m*/ }
From source file:Main.java
public static void dismissProgressDialog(ProgressDialog pd) { try {//www. j av a 2 s. c o m if (pd != null) { pd.dismiss(); } } catch (Exception e) { e.printStackTrace(); } }
From source file:Main.java
public static void closeProgressDialog(ProgressDialog progressDialog) { if (progressDialog != null && progressDialog.isShowing()) { progressDialog.dismiss(); }/*from www. ja v a 2s .c o m*/ }
From source file:Main.java
public static void closeProgress(ProgressDialog progressDialog) { try {/*w w w.ja v a2 s.c o m*/ if (progressDialog != null) { progressDialog.dismiss(); progressDialog = null; } } catch (Exception e) { e.printStackTrace(); } }
From source file:Main.java
/** * Stops progressDialog./*from w w w . j a v a 2s . c o m*/ * @param progressDialog -Progress dialog which needs to be stopped. */ public static void stopProgressDialog(ProgressDialog progressDialog) { if (progressDialog != null && progressDialog.isShowing()) { progressDialog.dismiss(); } }
From source file:Main.java
/** * Method to dismiss progress dialog./* ww w . j a v a2s . com*/ */ public static void dismissProgress(ProgressDialog mProgressDialog) { if (mProgressDialog != null && mProgressDialog.isShowing() && mProgressDialog.getContext() != null) { try { mProgressDialog.dismiss(); } catch (Exception e) { e.printStackTrace(); } } }