File was renamed from VisitFace/DemoForBsk/app/src/main/java/com/bsk/zhangbo/demoforbsk/ui/fragment/VisitorRegisterFragment.java |
| | |
| | | * Created by Administrator on 2017/2/20 0020.
|
| | | */
|
| | |
|
| | | public class VisitorRegisterFragment extends MainUIBaseFragment {
|
| | | public class CheckInFragment extends MainUIBaseFragment {
|
| | | private View mViewLeft,mViewRight;
|
| | | private RadioGroup mRGTop,mRGClass;
|
| | | private LinearLayout mLlRadioGroupClass;
|
| | |
| | | private EasyRecyclerView mRecyclerView;
|
| | | private List mList = new ArrayList();;
|
| | |
|
| | | private static VisitorRegisterFragment instance = new VisitorRegisterFragment();
|
| | | private static CheckInFragment instance = new CheckInFragment();
|
| | | private TextView leftCompanyName;
|
| | | private TextView leftIdentityNumber;
|
| | | private ImageView leftPhoto;
|
| | |
| | | private RadioButton visitorRegisterCheckDepartment;
|
| | | private ImageView rightPhoto;
|
| | |
|
| | | public static VisitorRegisterFragment getInstance() {
|
| | | public static CheckInFragment getInstance() {
|
| | | return instance;
|
| | | }
|
| | |
|
| | |
| | | leftCompanyName.setText(item.getCompanyName());
|
| | | leftIdentityNumber.setText(item.getIdentify());
|
| | | leftPhoto.setImageURI(Uri.parse(AppApi.CHENXINGGROUND_IMAGEURL_BASE + item.getImagePath()));
|
| | | /*
|
| | | left = (VisitorView) mViewRight.findViewById(R.id.visitor_view_left);
|
| | | left.setType(Constant.VISITOR_FROM);
|
| | | left.setTitle("");
|
| | | leftCompanyName = (TextView) left.findViewById(R.id.visitor_view_left_company_name);
|
| | | leftIdentityNumber = (TextView) left.findViewById(R.id.visitor_view_left_identity_number);
|
| | | leftPhone = (TextView) left.findViewById(R.id.visitor_view_left_phone);
|
| | | leftPhoto = (ImageView) left.findViewById(R.id.visitor_view_left_photo);
|
| | |
|
| | | right = (VisitorView) mViewRight.findViewById(R.id.visitor_view_right);
|
| | | right.setType(Constant.VISITOR_TO);
|
| | | right.setTitle("");
|
| | | rightDepartment = (TextView) right.findViewById(R.id.view_visitor_right_deptartment);
|
| | | rightPost = (TextView) right.findViewById(R.id.view_visitor_right_post);
|
| | | rightMobilePhone = (TextView) right.findViewById(R.id.visitor_right_phone);
|
| | | rightTel = (TextView) right.findViewById(R.id.visitor_right_tel);
|
| | | rightPhoto = (ImageView) right.findViewById(R.id.visitor_view_right_photo);
|
| | | */
|
| | |
|
| | | }
|
| | |
|
| | | public void listChanged(List list, boolean isClear) {
|