| | |
| | | fragment_check_in_right_interviewee_cell_name.setText(item.getUsername());
|
| | | 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.IMAGE_URL_BASE + item.getImagePath()));
|
| | | if (item.getImagePath() != null && !item.getImagePath().equals("")) {
|
| | | fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getSurveillancePhoto()));
|
| | | if (item.getSurveillancePhoto() != null && !item.getSurveillancePhoto().equals("")) {
|
| | | fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(INVISIBLE);
|
| | | } else {
|
| | | fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(VISIBLE);
|
| | | fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + "u45.png"));
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | public CheckInQueryItem getInterviewee() {
|
| | |
| | | }
|
| | |
|
| | | public void resetForm() {
|
| | | fragment_check_in_right_interviewee_cell_name.setText("");
|
| | | fragment_check_in_right_interviewee_cell_name.setText("被访人员姓名");
|
| | | fragment_check_in_right_interviewee_cell_dept.setText("");
|
| | | fragment_check_in_right_interviewee_cell_post.setText("");
|
| | | fragment_check_in_right_interviewee_cell_photo_placeholder.setText("添加\n被访人员");
|
| | | fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(VISIBLE);
|
| | | fragment_check_in_right_interviewee_cell_photo.setImageURI(null);
|
| | | }
|
| | |
|