@Override
    protected void onProgressUpdate(String... values) {
      super.onProgressUpdate(values);

      if (getActivity() != null && values != null && values.length > 0)
        ViewUtils.updateNormalProgressDialog(values[0]);
    }
    @Override
    protected void onFinished() {
      super.onFinished();

      ViewUtils.dismissNormalProgressDialog();

      setProfileView();
    }
    @Override
    protected void onPrepare() {
      super.onPrepare();

      ViewUtils.createNormalProgressDialog(
              getActivity(), getString(R.string.profile_group_update_loading))
          .show();
    }
    @Override
    protected void onSuccess(FriendshipShow result) {
      super.onSuccess(result);

      if (getActivity() != null) {
        mFriendship = result;

        getActivity().invalidateOptionsMenu();

        setProfileView();
      }
    }
    @Override
    protected void onFailure(TaskException exception) {
      super.onFailure(exception);

      // 如果界面没有被销毁,就加载
      if (getActivity() != null) {
        BaseActivity baseActivity = (BaseActivity) getActivity();
        if (!baseActivity.mIsDestoryed()) {
          new FriendshipTask().execute();
        }
      }
    }
    @Override
    protected void onSuccess(Boolean result) {
      super.onSuccess(result);

      showMessage(R.string.profile_edit_group_success);
    }
    @Override
    protected void onFailure(TaskException exception) {
      super.onFailure(exception);

      showMessage(R.string.profile_edit_group_faild);
    }