Code example for ProgressDialog

Methods: dismiss

0
     * </p> 
     */ 
    protected abstract void showProgressDialog(); 
 
    protected void removeProgressDialog() { 
        mProgressDialog.dismiss();
        mProgressDialog = null;
    } 
 
    /** 
     * This default implementation only creates a progress dialog. 
     * 
     * <p> 
     * <strong>Important:</strong> 
     * Be sure to call {@link #removeProgressDialog()} in {@link AsyncTask#onPostExecute(Object)}. 
     * </p> 
     */ 
    @Override 
    protected void onPreExecute() { 
        showProgressDialog(); 
Contextual code suggestions in your IDE  Get Codota for Java