| | |
| | | import safeluck.drive.evaluation.customview.LoadProgressDialog; |
| | | import safeluck.drive.evaluation.customview.MyDialogFragment; |
| | | import safeluck.drive.evaluation.customview.QRCodeDialog; |
| | | import safeluck.drive.evaluation.customview.SelectDialog; |
| | | import safeluck.drive.evaluation.httpmodule.RetrofitCreator; |
| | | import safeluck.drive.evaluation.im.MessageProcessor; |
| | | import safeluck.drive.evaluation.platformMessage.JKMessage0201; |
| | |
| | | clearArrayListResetTotalScore(); |
| | | |
| | | |
| | | if (myDialogFragment == null){ |
| | | myDialogFragment = new MyDialogFragment(); |
| | | } |
| | | myDialogFragment.show(getFragmentManager(),"dialog"); |
| | | myDialogFragment.setCallback(new MyDialogFragment.Callback() { |
| | | @Override |
| | | public void changKao() { |
| | | sendJK0202(2); |
| | | } |
| | | |
| | | @Override |
| | | public void luKao() { |
| | | sendJK0202(3); |
| | | |
| | | |
| | | SelectDialog selectDialog = SelectDialog.newInstance("进行场地考试","进行道路考试"); |
| | | selectDialog.setSelectedListener((int res)->{ |
| | | if (res != SelectDialog.SELECT_NONE){ |
| | | if (res== SelectDialog.FIRST){ |
| | | sendJK0202(2); |
| | | }else{ |
| | | sendJK0202(3); |
| | | } |
| | | } |
| | | }); |
| | | selectDialog.show(getFragmentManager(),"selectdialog"); |
| | | |
| | | }else{ |
| | | stopExam(); |