| | |
| | | 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();
|
| | |
|
| | | public static void setVisitorTypeList(List visitorTypeList) {
|
| | | SelectDialog.visitorTypeList = visitorTypeList;
|
| | |
| | | tile = "请选择访问事由";
|
| | | list = visitReasonList;
|
| | | break;
|
| | | case Constant.DialogSelectType.RESOLUTION:
|
| | | tile = "请选择分辨率";
|
| | | list = resolutionList;
|
| | | break;
|
| | | case Constant.DialogSelectType.PROTOCOL:
|
| | | tile = "请选择通讯";
|
| | | list = protocolList;
|
| | | break;
|
| | | case Constant.DialogSelectType.CAMERA_BRAND:
|
| | | tile = "请选择摄像机品牌";
|
| | | list = cameraBrandList;
|
| | | break;
|
| | | }
|
| | | dialog_select_title.setText(tile);
|
| | | }
|
| | |
| | | SelectDialog.visitReasonList = visitReasonList;
|
| | | }
|
| | |
|
| | | public static void setResolutionList(List<String> resolutionList) {
|
| | | SelectDialog.resolutionList = resolutionList;
|
| | | }
|
| | |
|
| | | public static void setProtocolList(List<String> protocolList) {
|
| | | SelectDialog.protocolList = protocolList;
|
| | | }
|
| | |
|
| | | public static void setCameraBrandList(List<String> cameraBrandList) {
|
| | | SelectDialog.cameraBrandList = cameraBrandList;
|
| | | }
|
| | |
|
| | |
|
| | | public static class WheelAdapter extends BaseWheelAdapter<String> {
|
| | | private Context mContext;
|