xuxiuxi
2017-04-05 771a848eea904046c68ffad084b5d68eadc9ebee
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java
@@ -30,24 +30,25 @@
    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);
@@ -59,14 +60,12 @@
        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
@@ -108,9 +107,7 @@
    }
    @Override
    protected void initData() {
        mList = new ArrayList();
        for (int i=0;i<25;i++){
            mList.add("");
@@ -120,7 +117,7 @@
    }
    @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);
    }