| | |
| | | placeholder(R.drawable.ic_portrait_default).error(R.drawable.ic_portrait_default).transform(new GlideCircleTransform(getApplicationContext())).into(iv_portrait); |
| | | if (!StringUtils.isEmpty(userInfoVO.getNickName())) { |
| | | tv_nickName.setText(userInfoVO.getNickName()); |
| | | tv_nickName.setTextColor(Color.WHITE); |
| | | tv_nickName.setTextColor(Color.GRAY); |
| | | } else { |
| | | tv_nickName.setText("未填写"); |
| | | tv_nickName.setTextColor(Color.GRAY); |
| | |
| | | |
| | | if (!StringUtils.isEmpty(userInfoVO.getBirthday())) { |
| | | tv_birthday.setText(userInfoVO.getBirthday()); |
| | | tv_birthday.setTextColor(Color.WHITE); |
| | | tv_birthday.setTextColor(Color.GRAY); |
| | | } else { |
| | | tv_birthday.setText("未填写"); |
| | | tv_birthday.setTextColor(Color.GRAY); |
| | |
| | | |
| | | if (!StringUtils.isEmpty(userInfoVO.getSex())) { |
| | | tv_sex.setText(Integer.parseInt(userInfoVO.getSex()) == 0 ? "女" : "男"); |
| | | tv_sex.setTextColor(Color.WHITE); |
| | | tv_sex.setTextColor(Color.GRAY); |
| | | } else { |
| | | tv_sex.setText("未填写"); |
| | | tv_sex.setTextColor(Color.GRAY); |
| | |
| | | |
| | | if (!StringUtils.isEmpty(userInfoVO.getSign())) { |
| | | tv_autograph.setText(userInfoVO.getSign()); |
| | | tv_autograph.setTextColor(Color.WHITE); |
| | | tv_autograph.setTextColor(Color.GRAY); |
| | | } else { |
| | | tv_autograph.setText("未填写"); |
| | | tv_autograph.setTextColor(Color.GRAY); |