| | |
| | | import androidx.annotation.NonNull; |
| | | import androidx.annotation.Nullable; |
| | | import androidx.appcompat.app.AlertDialog; |
| | | import androidx.fragment.app.DialogFragment; |
| | | |
| | | |
| | | import com.anyun.exam.lib.AYSdk; |
| | |
| | | import safeluck.drive.evaluation.BuildConfig; |
| | | import safeluck.drive.evaluation.R; |
| | | import safeluck.drive.evaluation.bean.ExamPlatformData; |
| | | import safeluck.drive.evaluation.customview.LoadProgressDialog; |
| | | |
| | | |
| | | /** |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | break; |
| | | case R.id.network_train: |
| | | if (ExamPlatformData.getInstance().getTrainingMode()==ExamPlatformData.TRAINING_MODE){ |
| | |
| | | public void onClick(DialogInterface dialog, int which) { |
| | | _mActivity.finish(); |
| | | } |
| | | }).setNegativeButton("取消", new DialogInterface.OnClickListener() { |
| | | @Override |
| | | public void onClick(DialogInterface dialog, int which) { |
| | | }).setNegativeButton("取消", (DialogInterface dialog, int which)-> { |
| | | dialog.dismiss(); |
| | | } |
| | | }).show(); |
| | | |
| | | break; |