xuxiuxi
2017-04-01 51378c40d2fd4f3478a685aac8c72f04fda711c1
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java
@@ -30,6 +30,7 @@
    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)
@@ -40,15 +41,14 @@
    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);
@@ -60,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);
        return mViewRight;
    }
    @Override
    protected void initListeners() {
        fragment_phone_call_left_radio_group.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
            @Override
@@ -109,9 +107,7 @@
    }
    @Override
    protected void initData() {
        mList = new ArrayList();
        for (int i=0;i<25;i++){
            mList.add("");
@@ -121,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);
    }