xuxiuxi
2017-04-05 4f60d9b584de1c4abbf7353091df39a9ccb1a13b


git-svn-id: http://192.168.1.226/svn/proxy@346 454eff88-639b-444f-9e54-f578c98de674
1个文件已修改
29 ■■■■■ 已修改文件
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/phonecall/PhoneCallRightIntervieweeCell.java 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/phonecall/PhoneCallRightIntervieweeCell.java
@@ -24,12 +24,16 @@
public class PhoneCallRightIntervieweeCell extends LinearLayout {
    public void setIntervieweeInfo(PhoneCallFragment.PhoneCallQueryItem item) {
        setIntervieweeInfo(JSON.parseObject(JSON.toJSONString(item), CheckInQueryItem.class));
    }
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_name)
    private TextView fragment_check_in_right_interviewee_cell_name;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_dept)
    private TextView fragment_check_in_right_interviewee_cell_dept;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_post)
    private TextView fragment_check_in_right_interviewee_cell_post;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_photo)
    private ImageView fragment_check_in_right_interviewee_cell_photo;
    private CheckInQueryItem item = new CheckInQueryItem();
    private PhoneCallFragment.PhoneCallQueryItem item = new PhoneCallFragment.PhoneCallQueryItem();
    public PhoneCallRightIntervieweeCell(Context context) {
        super(context);
@@ -42,26 +46,13 @@
        ViewUtils.inject(this, view);
    }
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_name)
    private TextView fragment_check_in_right_interviewee_cell_name;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_dept)
    private TextView fragment_check_in_right_interviewee_cell_dept;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_post)
    private TextView fragment_check_in_right_interviewee_cell_post;
    @ViewInject(R.id.fragment_check_in_right_interviewee_cell_photo)
    private ImageView fragment_check_in_right_interviewee_cell_photo;
    public void setIntervieweeInfo(final CheckInQueryItem item) {
    public void setIntervieweeInfo(final PhoneCallFragment.PhoneCallQueryItem item) {
        if (item == null) return;
        this.item = item;
        fragment_check_in_right_interviewee_cell_name.setText(item.getName());
        fragment_check_in_right_interviewee_cell_dept.setText(item.getDeptName());
        fragment_check_in_right_interviewee_cell_post.setText(item.getPostName());
        fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGEURL_BASE + item.getImagePath()));
    }
    public CheckInQueryItem getInterviewee() {
        return item;
    }
    @OnClick(R.id.fragment_check_in_right_interviewee_cell_call_tel)