private boolean checkValue() {
    String wechat = wechatEditText.getText().toString().trim();

    if (TextUtils.isEmpty(wechat)) {
      Toast.makeText(this, "请输入微信号", Toast.LENGTH_SHORT).show();
      ActivityUtil.shakeView(wechatEditText);
      return false;
    }

    return true;
  }
  private void requestHouseInfo() {
    HashMap<String, String> tempMap = new HashMap<String, String>();
    tempMap.put("houseId", this.getIntent().getStringExtra("houseId"));
    tempMap.put("telphone", ActivityUtil.getSharedPreferences().getString(Constants.UserName, ""));
    tempMap.put("userType", Constants.ROLE);

    JSONRequest request =
        new JSONRequest(
            this,
            RequestEnum.HOUSE_RELEASE_INFO,
            tempMap,
            new Response.Listener<String>() {

              @Override
              public void onResponse(String jsonObject) {
                try {
                  ObjectMapper objectMapper = new ObjectMapper();
                  objectMapper.configure(
                      DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);
                  JavaType type =
                      objectMapper
                          .getTypeFactory()
                          .constructParametricType(
                              AppMessageDto.class, HouseReleaseInfoAppDto.class);
                  AppMessageDto<HouseReleaseInfoAppDto> dto =
                      objectMapper.readValue(jsonObject, type);

                  if (dto.getStatus() == AppResponseStatus.SUCCESS) {

                    appDto = dto.getData();

                    responseHouseInfo();

                  } else {
                    Toast.makeText(
                            KeeperHouseInfoPublishActivity.this, dto.getMsg(), Toast.LENGTH_SHORT)
                        .show();
                  }

                } catch (Exception e) {
                  e.printStackTrace();
                }
              }
            });

    this.addToRequestQueue(request, "正在发送请稍候...");
  }
  private void initView() {
    ((TextView) this.findViewById(R.id.titleTextView)).setText("个人认证");
    this.findViewById(R.id.backBtn).setOnClickListener(this);

    headLogoView = (DavinciView) this.findViewById(R.id.headLogoView);
    headLogoView.getLogoImageView().setVisibility(View.GONE);
    headLogoView.getTitleTextView().setText("设置头像");
    headLogoView.getImportantTextView().setVisibility(View.VISIBLE);
    headLogoView.getTipTextView().setText("");
    headLogoView.setOnClickListener(this);

    headImageView = (CustomNetworkImageView) this.findViewById(R.id.headImageView);
    headImageView.setErrorImageResId(R.drawable.head_keeper_default);
    headImageView.setDefaultImageResId(R.drawable.head_keeper_default);
    if (agentDto != null) {
      headImageView.setImageUrl(
          Constants.HOST_IP
              + agentDto.getLogoUrl()
              + "?random="
              + ActivityUtil.getSharedPreferences().getString(Constants.HEAD_RANDOM, "0"),
          ImageCacheManager.getInstance().getImageLoader());
    }

    transferPwdView = (DavinciView) this.findViewById(R.id.transferPwdView);
    transferPwdView.getLogoImageView().setVisibility(View.GONE);
    transferPwdView.getTitleTextView().setText("交易密码");
    transferPwdView.getImportantTextView().setVisibility(View.VISIBLE);
    transferPwdView.getTipTextView().setText("");
    transferPwdView.setOnClickListener(this);

    modifyLoginPwdView = (DavinciView) this.findViewById(R.id.modifyLoginPwdView);
    modifyLoginPwdView.getLogoImageView().setVisibility(View.GONE);
    modifyLoginPwdView.getTitleTextView().setText("修改登录密码");
    modifyLoginPwdView.getTipTextView().setText("");
    modifyLoginPwdView.setOnClickListener(this);

    modifyGestureLockView = (DavinciView) this.findViewById(R.id.modifyGestureLockView);
    modifyGestureLockView.getLogoImageView().setVisibility(View.GONE);
    modifyGestureLockView.getTitleTextView().setText("管理手势密码");
    modifyGestureLockView.getTipTextView().setText("");
    modifyGestureLockView.setOnClickListener(this);

    bankCardView = (DavinciView) this.findViewById(R.id.bankCardView);
    bankCardView.getLogoImageView().setVisibility(View.GONE);
    bankCardView.getTitleTextView().setText("银行卡");
    bankCardView.getImportantTextView().setVisibility(View.VISIBLE);
    bankCardView.getTipTextView().setText("");
    bankCardView.setOnClickListener(this);

    cardIdView = (DavinciView) this.findViewById(R.id.cardIdView);
    cardIdView.getLogoImageView().setVisibility(View.GONE);
    cardIdView.getTitleTextView().setText("身份证照片");
    cardIdView.getImportantTextView().setVisibility(View.VISIBLE);
    cardIdView.getTipTextView().setText("");
    cardIdView.setOnClickListener(this);

    jobPhotoView = (DavinciView) this.findViewById(R.id.jobPhotoView);
    jobPhotoView.getLogoImageView().setVisibility(View.GONE);
    jobPhotoView.getTitleTextView().setText("工作证照片");
    jobPhotoView.getImportantTextView().setVisibility(View.VISIBLE);
    jobPhotoView.getTipTextView().setText("");
    jobPhotoView.setOnClickListener(this);
  }