private void setView() { try { relayout_fate.startAnimation(AnimationUtils.loadAnimation(context, R.anim.fate_alpha)); ImageLoadUtils.imageLoader.displayImage( person.getUrl(), img_fate_icon, ImageLoadUtils.options); // tv_fate_location.setText(person.getCity()); tv_fate_location.setText(Conf.city); tv_fate_name.setText(person.getNick()); tv_fate_age.setText(person.getAge() + StringUtils.getResourse(R.string.str_sui)); tv_fate_likenum.setText( person.getGreeted_nums() + StringUtils.getResourse(R.string.str_fate_likenum)); if (person.getHeight().trim().equals("")) tv_fate_height.setText(""); else tv_fate_height.setText(person.getHeight() + "cm"); tv_fate_picnum.setText( person.getPhoto_nums() + StringUtils.getResourse(R.string.str_iconuntil)); } catch (Exception e) { // TODO: handle exception } }