diff --git a/commonLib/src/main/java/com/common/commonlib/image/loader/ImageLoader.kt b/commonLib/src/main/java/com/common/commonlib/image/loader/ImageLoader.kt index d386a89..b6c7cc2 100644 --- a/commonLib/src/main/java/com/common/commonlib/image/loader/ImageLoader.kt +++ b/commonLib/src/main/java/com/common/commonlib/image/loader/ImageLoader.kt @@ -2,7 +2,6 @@ package com.common.commonlib.image.loader import android.content.Context import android.graphics.drawable.Drawable -import android.util.Log import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.RequestBuilder @@ -78,7 +77,7 @@ object ImageLoader : ILoader { requestBuilder.into(view) } - override fun clearMemoryCache(context: Context) = runBlocking { + override fun clearMemoryCache(context: Context){ GlobalScope.launch(Dispatchers.Main) { Glide.get(context).clearMemory() }