| | |
| | | @Override |
| | | public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
| | | View view = inflater.inflate(R.layout.layout_train_fragment, container, false); |
| | | item_conents.add("侧方停车"); |
| | | initView(view); |
| | | |
| | | FailedProjViewModel failedProjViewModel = ViewModelProviders.of(this).get(FailedProjViewModel.class); |
| | |
| | | } |
| | | }); |
| | | |
| | | item_conents.add("侧方停车"); |
| | | |
| | | return view; |
| | | } |
| | | |
| | |
| | | av_zhijiao = view.findViewById(R.id.av1); |
| | | houseView = view.findViewById(R.id.hv); |
| | | //粉红色正在进行该项目的考试 |
| | | examStatusList.add(new ExamStatus(1, 2)); |
| | | examStatusList.add(new ExamStatus(1, 0)); |
| | | examStatusList.add(new ExamStatus(2, 1)); |
| | | examStatusList.add(new ExamStatus(3, 0)); |
| | | examStatusList.add(new ExamStatus(4, 2)); |
| | |
| | | av_park.setColor(whatPaintColor(examStatusList.get(2))); |
| | | houseView.setColor(whatPaintColor(examStatusList.get(0))); |
| | | |
| | | sendRTKConfig2RemoteService(); |
| | | mListView = view.findViewById(R.id.lv); |
| | | mListView.setFocusable(false); |
| | | view.findViewById(R.id.view_map).setOnClickListener(this); |
| | |
| | | |
| | | } |
| | | |
| | | private void sendRTKConfig2RemoteService() { |
| | | // MyLog.d(TAG,"主动推送RTKConfig"); |
| | | // CEventCenter.dispatchEvent(Constant.BIND_RTKCONFIG_TOPIC,Constant.FETCH_RTK_PLATFORM_INFO,0,""); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void onClick(View v) { |