From e4a92e0f2b8446d89278b1bc92932056b762d540 Mon Sep 17 00:00:00 2001 From: klaus Date: Wed, 6 Dec 2023 16:55:18 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=B0=A9=20-=20?= =?UTF-8?q?=EC=BB=A4=EB=B2=84=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=BA=90?= =?UTF-8?q?=EC=8B=9C=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetDropDown.xml | 10 ++++++++++ .idea/migrations.xml | 10 ++++++++++ .../vividnext/sodalive/live/room/LiveRoomActivity.kt | 10 +++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .idea/deploymentTargetDropDown.xml create mode 100644 .idea/migrations.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..0c0c338 --- /dev/null +++ b/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt b/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt index d67df7a..d764259 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/live/room/LiveRoomActivity.kt @@ -30,7 +30,9 @@ import androidx.core.content.ContextCompat import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView +import coil.ImageLoader import coil.load +import coil.request.CachePolicy import coil.transform.CircleCropTransformation import com.github.dhaval2404.imagepicker.ImagePicker import com.google.gson.Gson @@ -672,7 +674,13 @@ class LiveRoomActivity : BaseActivity(ActivityLiveRoomB } binding.tvTitle.text = response.title - binding.ivCover.load(response.coverImageUrl) + binding.ivCover.load( + response.coverImageUrl, + imageLoader = ImageLoader.Builder(applicationContext) + .memoryCachePolicy(CachePolicy.ENABLED) + .diskCachePolicy(CachePolicy.ENABLED) + .build() + ) binding.flDonation.visibility = if (response.creatorId != SharedPreferenceManager.userId) {