lizhanwei
2020-04-23 a6b8cdf744588806241b8e5a2a2ce3fa1d124a07
app/src/main/java/safeluck/drive/evaluation/fragment/NetWorkTrainFragment.java
@@ -68,6 +68,7 @@
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;
@@ -587,22 +588,20 @@
                    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();