From 1568cc1ffa7c1f928b6b9a08a6971c17094ddae4 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 16 May 2021 00:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89Gson=E5=BA=8F?= =?UTF-8?q?=E5=88=97=E5=8C=96=E5=8F=8D=E5=BA=8F=E5=88=97=E5=8C=96=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=E5=AE=9E=E4=BD=93=E7=B1=BB=E9=80=BB=E8=BE=91=20SnackB?= =?UTF-8?q?ar=E5=A2=9E=E5=8A=A0=E6=93=8D=E4=BD=9C=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=92=8C=E5=9B=9E=E8=B0=83=E9=85=8D=E7=BD=AE=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=A4=BE=E5=9B=A2=E9=A2=98=E5=BA=93=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/gyf/csams/association/model/ExamViewModel.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/gyf/csams/association/model/ExamViewModel.kt b/app/src/main/java/com/gyf/csams/association/model/ExamViewModel.kt index 65c43b4..c913936 100644 --- a/app/src/main/java/com/gyf/csams/association/model/ExamViewModel.kt +++ b/app/src/main/java/com/gyf/csams/association/model/ExamViewModel.kt @@ -51,11 +51,6 @@ data class ChoiceQuestionVo(override val examType: ExamType = ExamType.cq, -/** - * 题库状态管理 - * - */ - /** * 问题长度 */ @@ -73,6 +68,11 @@ const val ANSWER_SIZE=4 const val ANSWER_TEXT_LENGTH=15 +/** + * 题库状态管理 + * + */ + class ExamViewModel:ScrollList() { val questionIsNull: String = "问题不能为空" val deleteLeastOne: String="至少保留一道题目"