lmw
2024-07-16 c303346ae803dc2a89ec0f025192773211861915
app/src/main/java/com/dollearn/student/ui/home/MemoryActivity.kt
@@ -15,7 +15,9 @@
import com.dollearn.student.ui.home.adapter.CardAdapter
import com.dollearn.student.utils.AudioUtils
import com.dollearn.student.utils.Const
import com.dollearn.student.utils.event.EmptyEvent
import kotlinx.android.synthetic.main.activity_memory.*
import org.greenrobot.eventbus.EventBus
class MemoryActivity : TransparentStatusBarActivity(), AudioUtils.OnAudioStatusUpdateListener {
    override fun setContentView() = R.layout.activity_memory
@@ -164,6 +166,7 @@
        handler?.removeMessages(PLAY_VOICE)
        handler?.removeMessages(STUDY_TIME)
        handler = null
        EventBus.getDefault().post(EmptyEvent(Const.EventCode.STOP_TIMER))
    }
    override fun onPause() {