| | |
| | |
|
| | | 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);
|
| | |
| | | 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)
|