From bfd1ad288092a4b4a010ea230466f5e86a4e3de4 Mon Sep 17 00:00:00 2001 From: lmw <125975490@qq.com> Date: 星期二, 24 十二月 2024 10:09:43 +0800 Subject: [PATCH] fix bug --- app/src/main/java/com/sinata/xqmuse/ui/home/TypeVoiceActivity.kt | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/sinata/xqmuse/ui/home/TypeVoiceActivity.kt b/app/src/main/java/com/sinata/xqmuse/ui/home/TypeVoiceActivity.kt index a9cf0e2..0df7792 100644 --- a/app/src/main/java/com/sinata/xqmuse/ui/home/TypeVoiceActivity.kt +++ b/app/src/main/java/com/sinata/xqmuse/ui/home/TypeVoiceActivity.kt @@ -18,7 +18,13 @@ private val adapter = VoiceGridAdapter(list) override fun initClick() { adapter.setOnItemClickListener { view, position -> - + showDialog() + HttpManager.getMeditationDetails(list[position].id).request(this,success = {_,data-> + dismissDialog() + data?.goDetail(this) + }){_,_-> + dismissDialog() + } } } -- Gitblit v1.7.1