From c42258b3bdc3527b74e05bbd917ceaa458cc205a Mon Sep 17 00:00:00 2001
From: lmw <125975490@qq.com>
Date: 星期五, 08 八月 2025 11:25:48 +0800
Subject: [PATCH] save
---
app/src/main/java/com/dollearn/student/ui/home/SuperListenActivity.kt | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/app/src/main/java/com/dollearn/student/ui/home/SuperListenActivity.kt b/app/src/main/java/com/dollearn/student/ui/home/SuperListenActivity.kt
index 2cfe8e6..0b82f27 100644
--- a/app/src/main/java/com/dollearn/student/ui/home/SuperListenActivity.kt
+++ b/app/src/main/java/com/dollearn/student/ui/home/SuperListenActivity.kt
@@ -252,7 +252,7 @@
countTime = TIME //重置答题时间
tv_tip.text = "准备听题"
state = 0
- handler?.sendEmptyMessageDelayed(PLAY_VOICE, if (playNow) 200 else 3000)
+ handler?.sendEmptyMessageDelayed(PLAY_VOICE, if (playNow) 200 else 1000)
}else{
tv_sort.visibility = View.INVISIBLE
cl_voice.visibility = View.INVISIBLE
@@ -348,16 +348,13 @@
errorPlaying = false
else if (rightPlaying){
rightPlaying = false
- val subject = data!!.subjectList[data!!.subjectList.map { it.correct }
- .indexOf(voiceList[index])] //当前音频对应题目
- subject.completed = true
- handler?.sendEmptyMessage(PLAY_VOICE)
- }else{
cl_voice.translationX = 0f
cl_voice.translationY = 0f
cl_voice.layoutParams.width = dip(159)
cl_voice.layoutParams.height = dip(52)
cl_voice.requestLayout()
+ }else{
+
}
}
--
Gitblit v1.7.1