| | |
| | | private List list = new ArrayList();
|
| | |
|
| | | public static List visitorTypeList = new ArrayList();
|
| | | public static List attenderTypeList = new ArrayList();
|
| | | public static List genderList = new ArrayList();
|
| | | public static List idTypeList = new ArrayList();
|
| | | public static List visitReasonList = new ArrayList();
|
| | | private static List<String> resolutionList = new ArrayList();
|
| | | private static List<String> protocolList = new ArrayList();
|
| | | private static List<String> cameraBrandList = new ArrayList();
|
| | | private static List<String> departmentDictionaryList = new ArrayList();
|
| | | private static List<String> postDictionaryList = new ArrayList();
|
| | | private int type;
|
| | |
|
| | | public static void setVisitorTypeList(List visitorTypeList) {
|
| | | SelectDialog.visitorTypeList = visitorTypeList;
|
| | | }
|
| | |
|
| | | public static void setAttenderTypeList(List attenderTypeList) {
|
| | | SelectDialog.attenderTypeList = attenderTypeList;
|
| | | }
|
| | |
|
| | | public static void setGenderList(List genderList) {
|
| | |
| | | tile = "请选择摄像机品牌";
|
| | | list = cameraBrandList;
|
| | | break;
|
| | | case Constant.DialogSelectType.DEPARTMENT:
|
| | | tile = "请选择部门/班级";
|
| | | list = departmentDictionaryList;
|
| | | break;
|
| | | case Constant.DialogSelectType.POST:
|
| | | tile = "请选择职务";
|
| | | list = postDictionaryList;
|
| | | break;
|
| | | }
|
| | | dialog_select_title.setText(tile);
|
| | | }
|
| | |
| | | SelectDialog.cameraBrandList = cameraBrandList;
|
| | | }
|
| | |
|
| | | public static void setDepartmentDictionaryList(List<String> departmentDictionaryList) {
|
| | | SelectDialog.departmentDictionaryList = departmentDictionaryList;
|
| | | }
|
| | |
|
| | | public static void setPostDictionaryList(List<String> postDictionaryList) {
|
| | | SelectDialog.postDictionaryList = postDictionaryList;
|
| | | }
|
| | |
|
| | |
|
| | | public static class WheelAdapter extends BaseWheelAdapter<String> {
|
| | | private Context mContext;
|