@Override protected void onPostExecute(String content) { super.onPostExecute(content); if (isCancelled()) { return; } if (mListener != null) { if (isRefreshSuccess) { mListener.onPostExecute(content); } else { mListener.onFail(mException); } } }
@Override protected void onPreExecute() { super.onPreExecute(); if (mListener != null) { mListener.onPreExecute(); } }