| | |
| | | import cn.com.basic.face.base.MainUIBaseFragment;
|
| | | import cn.com.basic.face.base.MainActivity;
|
| | | import cn.com.basic.face.util.Constant;
|
| | | import cn.com.basic.face.widget.VisitorView;
|
| | | import cn.com.basic.face.widget.CheckInIntervieweeCell;
|
| | | import com.camnter.easyrecyclerview.widget.EasyRecyclerView;
|
| | | import com.lidroid.xutils.ViewUtils;
|
| | | import com.lidroid.xutils.view.annotation.event.OnClick;
|
| | |
| | | private View mViewLeft,mViewRight;
|
| | | private RadioGroup mRGTop,mRGClass;
|
| | | private LinearLayout mLlRadioGroupClass;
|
| | | private VisitorView mVisitorTo;
|
| | | private CheckInIntervieweeCell mVisitorTo;
|
| | | private VisitorRecyclerViewAdapter mAdapter;
|
| | | private EasyRecyclerView mRecyclerView;
|
| | | private List mList;
|
| | |
|
| | |
|
| | |
|
| | | public static PhoneCallFragment newInstance() {
|
| | | return new PhoneCallFragment();
|
| | |
| | |
|
| | | mViewLeft = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_left,null);
|
| | | mRGTop = (RadioGroup) mViewLeft.findViewById(R.id.fragment_check_in_left_radio_group);
|
| | | mRGClass = (RadioGroup) mViewLeft.findViewById(R.id.visitor_register_check_class);
|
| | | mRGClass = (RadioGroup) mViewLeft.findViewById(R.id.fragment_check_in_left_sort_radio_group);
|
| | | mLlRadioGroupClass = (LinearLayout) mViewLeft.findViewById(R.id.fragment_check_in_left_sort_type_linear_layout);
|
| | | mRecyclerView = (EasyRecyclerView) mViewLeft.findViewById(R.id.fragment_check_in_left_list_view);
|
| | | LinearLayoutManager manager = new LinearLayoutManager(getActivity(),LinearLayoutManager.VERTICAL,false);
|
| | |
| | | @Override
|
| | | public View addRightLayout() {
|
| | | mViewRight = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_phone_call_right,null);
|
| | | mVisitorTo = (VisitorView) mViewRight.findViewById(R.id.tel_phone_to);
|
| | | mVisitorTo.setType(Constant.VISITOR_TO);
|
| | | mVisitorTo.setTitle("dasfasdfasdf");
|
| | | mVisitorTo = (CheckInIntervieweeCell) mViewRight.findViewById(R.id.tel_phone_to);
|
| | |
|
| | | return mViewRight;
|
| | | }
|
| | |
|