| | |
| | | import cn.com.basic.face.discern.query.item.FacePhotoItem;
|
| | | import cn.com.basic.face.discern.query.item.VisitorQueryItem;
|
| | |
|
| | | /**
|
| | | * Created by Administrator on 2017/2/20 0020.
|
| | | */
|
| | |
|
| | | public class CheckInFragment extends MainUIBaseFragment {
|
| | | private View fragment_check_in_left;
|
| | | private View fragment_check_in_right;
|
| | |
| | | private CheckInIntervieweeCell fragment_check_in_right_interviewee_cell;
|
| | | private CheckInRightVisitorCell fragment_check_in_right_visitor_cell;
|
| | | private CheckInRightCellAdapter mAdapter;
|
| | | @ViewInject(R.id.fragment_check_in_left_list_view)
|
| | | private EasyRecyclerView fragment_check_in_left_list_view;
|
| | | private List mList = new ArrayList();;
|
| | |
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | protected void initData() {
|
| | | loadList();
|
| | | }
|
| | | protected void initData() { loadList(); }
|
| | |
|
| | | @Override
|
| | | public View addLeftLayout() {
|
| | | fragment_check_in_left = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_check_in_left,null);
|
| | | fragment_check_in_left_radio_group = (RadioGroup) fragment_check_in_left.findViewById(R.id.fragment_check_in_left_radio_group);
|
| | | fragment_check_in_left_sort_radio_group = (RadioGroup) fragment_check_in_left.findViewById(R.id.fragment_check_in_left_sort_radio_group);
|
| | | fragment_check_in_left_sort_type_linear_layout = (LinearLayout) fragment_check_in_left.findViewById(R.id.fragment_check_in_left_sort_type_linear_layout);
|
| | | fragment_check_in_left_list_view = (EasyRecyclerView) fragment_check_in_left.findViewById(R.id.fragment_check_in_left_list_view);
|
| | | LinearLayoutManager manager = new LinearLayoutManager(getActivity(),LinearLayoutManager.VERTICAL,false);
|
| | | fragment_check_in_left_list_view.setLayoutManager(manager);
|
| | | ViewUtils.inject(this, fragment_check_in_left);
|
| | |
|
| | | mAdapter = new CheckInRightCellAdapter(getActivity(),Constant.VISITOR_CELL);
|
| | |
|
| | | ViewUtils.inject(this, fragment_check_in_left);
|
| | | return fragment_check_in_left;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public View addRightLayout() {
|
| | | fragment_check_in_right = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_check_in_right,null);
|
| | | ViewUtils.inject(this, fragment_check_in_right);
|
| | | fragment_check_in_right_visitor_cell = (CheckInRightVisitorCell) fragment_check_in_right.findViewById(R.id.fragment_check_in_right_visitor_cell);
|
| | |
|
| | | fragment_check_in_right_interviewee_cell = (CheckInIntervieweeCell) fragment_check_in_right.findViewById(R.id.fragment_check_in_right_interviewee_cell);
|
| | |
|
| | | ViewUtils.inject(this, fragment_check_in_right);
|
| | |
|
| | | return fragment_check_in_right;
|
| | | }
|
| | |
|