Code example for ProgressDialog

Methods: dismiss

0
    private Handler mHandler = new Handler() {
        @Override 
        public void handleMessage(Message msg) { 
            switch (msg.what) { 
                case MSG_TEST_LIST_PRELOADER_DONE: 
                    sProgressDialog.dismiss(); 
                    mTestsList = (ArrayList<String>)msg.obj; 
                    mTotalTestCount = mTestsList.size(); 
                    restartExecutor(0); 
                    break; 
            } 
        } 
    }; 
 
    private ArrayList<String> mTestsList;
    private int mTotalTestCount;
 
    private OnEverythingFinishedCallback mOnEverythingFinishedCallback;
    private boolean mEverythingFinished;
 
    @Override