| | |
| | | import safeluck.drive.evaluation.R; |
| | | import safeluck.drive.evaluation.adapter.LightExamSelectAdapter; |
| | | import safeluck.drive.evaluation.adapter.LightExamUseAdapter; |
| | | import safeluck.drive.evaluation.app; |
| | | import safeluck.drive.evaluation.bean.AnswerStatus; |
| | | import safeluck.drive.evaluation.bean.Question2Answers; |
| | | import safeluck.drive.evaluation.customview.MyDecoration; |
| | | |
| | | import safeluck.drive.evaluation.util.CThreadPoolExecutor; |
| | | import safeluck.drive.evaluation.util.DataInitKt; |
| | | |
| | | /** |
| | | * DriveJudge |
| | |
| | | OneTimeWorkRequest oneTimeWorkRequest = OneTimeWorkRequest.from(LightUseInitWorker.class); |
| | | WorkManager.getInstance(_mActivity).enqueue(oneTimeWorkRequest); |
| | | break; |
| | | case R.id.btn_sure: |
| | | case R.id.btn_light_sure: |
| | | CThreadPoolExecutor.runInBackground(()->{ |
| | | DataInitKt.sendExamLightsAndExamStatus(app.getAppContext()); |
| | | }); |
| | | break; |
| | | } |
| | | } |