| | |
| | |
|
| | | private View fragment_phone_call_left;
|
| | | private View mViewRight;
|
| | |
|
| | | @ViewInject(R.id.fragment_phone_call_left_radio_group)
|
| | | private RadioGroup fragment_phone_call_left_radio_group;
|
| | | @ViewInject(R.id.fragment_phone_call_left_sort_radio_group)
|
| | | private RadioGroup fragment_phone_call_left_sort_radio_group;
|
| | | @ViewInject(R.id.fragment_phone_call_left_sort_type_linear_layout)
|
| | | private LinearLayout fragment_phone_call_left_sort_type_linear_layout;
|
| | | @ViewInject(R.id.fragment_phone_call_right_interviewe_cell)
|
| | | @ViewInject(R.id.fragment_phone_call_right_interviewee_cell)
|
| | | private CheckInIntervieweeCell fragment_phone_call_right_interviewe_cell;
|
| | | @ViewInject(R.id.fragment_phone_call_left_list_view)
|
| | | private EasyRecyclerView fragment_phone_call_left_list_view;
|
| | |
|
| | | private CheckInLeftListViewAdapter mAdapter;
|
| | | private List mList;
|
| | |
|
| | | public View addLeftLayout() {
|
| | | fragment_phone_call_left = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_left,null);
|
| | | ViewUtils.inject(this, fragment_phone_call_left);
|
| | | LinearLayoutManager manager = new LinearLayoutManager(getActivity(),LinearLayoutManager.VERTICAL,false);
|
| | | fragment_phone_call_left_list_view.setLayoutManager(manager);
|
| | | fragment_phone_call_left_list_view.setLayoutManager(new LinearLayoutManager(getActivity(),LinearLayoutManager.VERTICAL,false));
|
| | | mAdapter = new CheckInLeftListViewAdapter(getActivity(),Constant.CheckIn.VISITOR_ROW);
|
| | |
|
| | | fragment_phone_call_left_sort_type_linear_layout.setVisibility(View.VISIBLE);
|
| | |
| | | return fragment_phone_call_left;
|
| | | }
|
| | |
|
| | |
|
| | | public View addRightLayout() {
|
| | | mViewRight = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_right,null);
|
| | | fragment_phone_call_right_interviewe_cell = (CheckInIntervieweeCell) mViewRight.findViewById(R.id.fragment_phone_call_right_interviewe_cell);
|
| | | fragment_phone_call_right_interviewe_cell = (CheckInIntervieweeCell) mViewRight.findViewById(R.id.fragment_phone_call_right_interviewee_cell);
|
| | | return mViewRight;
|
| | | }
|
| | |
|
| | | @Override
|
| | | protected void initListeners() {
|
| | | fragment_phone_call_left_radio_group.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
| | | @Override
|
| | |
| | |
|
| | | }
|
| | |
|
| | | @Override
|
| | | protected void initData() {
|
| | |
|
| | | mList = new ArrayList();
|
| | | for (int i=0;i<25;i++){
|
| | | mList.add("");
|
| | |
| | | }
|
| | |
|
| | | @OnClick(R.id.fragment_phone_call_left_back)
|
| | | public void back(View view) {
|
| | | public void fragment_phone_call_left_back_click(View view) {
|
| | | MainActivity.selectPage(0);
|
| | | }
|
| | |
|