自定义Gson序列化反序列化题目实体类逻辑

SnackBar增加操作属性和回调配置
增加社团题库管理
master
pan 4 years ago
parent 54ecee40c0
commit 1568cc1ffa
  1. 10
      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 const val ANSWER_TEXT_LENGTH=15
/**
* 题库状态管理
*
*/
class ExamViewModel:ScrollList<Exam>() { class ExamViewModel:ScrollList<Exam>() {
val questionIsNull: String = "问题不能为空" val questionIsNull: String = "问题不能为空"
val deleteLeastOne: String="至少保留一道题目" val deleteLeastOne: String="至少保留一道题目"

Loading…
Cancel
Save