@Override protected void onPreExecute() { super.onPreExecute(); if (mConfig.isHasDialog()) { progress = showProgressDialog(); } }