/** 绑定微信 */
 @Click(R.id.wechatRowRl)
 void onBindWechatAccount() {
   if (wechatOpenId != null) {
     unBindDialog.show();
     unbindType = BUND_TYPE_WECHAT;
   } else {
     processDialog.show();
     authHelper.requestWechatAuth(this);
   }
 }
 /** 绑定微博 */
 @Click(R.id.weiboRowRl)
 void onBindWeiboAccount() {
   if (weiboOpenId != null) {
     unBindDialog.show();
     unbindType = BUND_TYPE_WEIBO;
   } else {
     processDialog.show();
     authHelper.requestSinaWeiboAuth();
   }
 }
 /** 绑定qq */
 @Click(R.id.qqRowRl)
 void onBindQQAccount() {
   if (qqOpenId != null) {
     unBindDialog.show();
     unbindType = BUND_TYPE_QQ;
   } else {
     processDialog.show();
     authHelper.requestTencentQQAuth();
   }
 }
  /** 显示第三方的头像,供用户选择 */
  void showThirdImg() {

    modifyUserPhotoDialog =
        new GenericDialog(AccountManagerActivity.this, R.layout.modify_user_photo_dialog);
    modifyUserPhotoDialog.setCancelable(true);
    modifyUserPhotoDialog.findViewById(R.id.qqPhotoLL).setVisibility(View.GONE);
    modifyUserPhotoDialog.findViewById(R.id.weiboPhotoLL).setVisibility(View.GONE);
    modifyUserPhotoDialog.findViewById(R.id.wechatPhotoLL).setVisibility(View.GONE);
    if (thirdImgUrlDTOs != null) {

      for (int i = 0; i < thirdImgUrlDTOs.size(); i++) {
        ThirdImgUrlDTO imgUrlDTO = thirdImgUrlDTOs.get(i);
        String type = imgUrlDTO.getBindType();
        String imgUrl = imgUrlDTO.getBindPortrait().getBig();
        RoundedImageView riv;
        if (BUND_TYPE_QQ.equals(type)) { // qq 头像
          riv = (RoundedImageView) modifyUserPhotoDialog.findViewById(R.id.qqPhoto);
          //                    ImageLoader.getInstance().displayImage(imgUrl, riv, options);
          Picasso.with(this).load(imgUrl).into(riv);
          modifyUserPhotoDialog.findViewById(R.id.qqPhotoLL).setVisibility(View.VISIBLE);
          qq_photo_url = imgUrl;
        }
        if (BUND_TYPE_WEIBO.equals(type)) { // 微博头像
          riv = (RoundedImageView) modifyUserPhotoDialog.findViewById(R.id.weiboPhoto);
          //                    ImageLoader.getInstance().displayImage(imgUrl, riv, options);
          Picasso.with(this).load(imgUrl).into(riv);
          modifyUserPhotoDialog.findViewById(R.id.weiboPhotoLL).setVisibility(View.VISIBLE);
          weibo_photo_url = imgUrl;
        }
        if (BUND_TYPE_WECHAT.equals(type)) {
          riv = (RoundedImageView) modifyUserPhotoDialog.findViewById(R.id.wechatPhoto);
          //                    ImageLoader.getInstance().displayImage(imgUrl, riv, options);
          Picasso.with(this).load(imgUrl).into(riv);
          modifyUserPhotoDialog.findViewById(R.id.wechatPhotoLL).setVisibility(View.VISIBLE);
          wechat_photo_url = imgUrl;
        }
      }
    }
    modifyUserPhotoDialog.show();
  }