示例#1
0
  @Override
  protected void onPostExecute(String content) {
    super.onPostExecute(content);

    if (isCancelled()) {
      return;
    }

    if (mListener != null) {
      if (isRefreshSuccess) {
        mListener.onPostExecute(content);
      } else {
        mListener.onFail(mException);
      }
    }
  }