|
@@ -16,6 +16,7 @@ class ChoiceAdapter(override val layoutId: Int = R.layout.item_moca_choice) :
|
|
|
|
|
|
override fun onBindViewHolder(binding: ItemMocaChoiceBinding, item: QuestionsBean, position: Int) {
|
|
|
binding.data = item
|
|
|
+ binding.radioChoice.clearCheck()
|
|
|
binding.radioCorrect.isChecked = TextUtils.equals(item.inputString, "是")
|
|
|
binding.radioDeny.isChecked = TextUtils.equals(item.inputString, "否")
|
|
|
binding.radioChoice.setOnCheckedChangeListener { group, checkedId ->
|