@AfterViews
  void bindViews() {
    userService = RemoteServiceManager.getRemoteService(IRpcJobUservice.class);
    //        options = new DisplayImageOptions.Builder().cacheInMemory(true)
    //                .bitmapConfig(Bitmap.Config.RGB_565).cacheOnDisk(true)
    //                .considerExifParams(true).build();

    SystemServicesUtils.displayCustomTitle(getApplicationContext(), getSupportActionBar(), "账号管理");

    processDialog = new ProcessDialog(this);
    unBindDialog = new GenericDialog(this, R.layout.unbind_account_dialog);
    unBindDialog.setCancelable(true);

    authHelper =
        new ThirdPartAuthHelper(
            this,
            new AuthResultCallback() {

              @Override
              public void onAuthResult(String openId, String authType) {
                if (isModifyUserPhoto) { // 为了拿到第三方头像而验证
                  // modifyUserPhoto_BindValue = openId;

                } else { // 为了绑定第三方账号而验证

                  bindOpenId = openId;
                  // 绑定qq账号
                  if (Constants.LOGIN_TYPE_QQ.equals(authType)) {
                    bindQQAccount(openId);
                  }

                  // 绑定weibo账号
                  if (Constants.LOGIN_TYPE_WEIBO.equals(authType)) {
                    bindWeiboAccount(openId);
                  }
                  // getUserPhotoInThird(authType, openId);
                }
              }
            });

    // 显示头像
    if (userPhotoUrl != null) {
      editHeadBtn.setVisibility(View.VISIBLE);
      Picasso.with(this).load(userPhotoUrl).into(userPhotoImg);

    } else {
      editHeadBtn.setVisibility(View.GONE);
    }

    // 账号信息
    if (!gotoModifyPhoto) {
      processDialog.show();
    }
    findAccountsInfo();

    if (gotoModifyPhoto) {
      findUserHeadPhoto();
    }
  }
 @AfterViews
 void bindViews() {
   SystemServicesUtils.displayCustomTitle(
       this, getSupportActionBar(), getString(R.string.activity_title_jiucuo));
   enterpriseService = RemoteServiceManager.getRemoteService(IRpcJobEnterpriseService.class);
 }