|
@@ -62,11 +62,6 @@ class SingleChoiceFragment : BaseFragment<FragmentSingleChoiceBinding>(),
|
|
|
|
|
|
override fun onResume() {
|
|
|
super.onResume()
|
|
|
- binding.btnNext.text = if (questionId == 76) {
|
|
|
- "提交"
|
|
|
- } else {
|
|
|
- "继续"
|
|
|
- }
|
|
|
loadData()
|
|
|
}
|
|
|
|
|
@@ -74,6 +69,11 @@ class SingleChoiceFragment : BaseFragment<FragmentSingleChoiceBinding>(),
|
|
|
* 加载数据
|
|
|
*/
|
|
|
private fun loadData() {
|
|
|
+ binding.btnNext.text = if (questionId == 76) {
|
|
|
+ "提交"
|
|
|
+ } else {
|
|
|
+ "继续"
|
|
|
+ }
|
|
|
choiceItemList.clear()
|
|
|
if (questionsDao != null) {
|
|
|
question = questionsDao?.getQuestion(questionId)
|