Image loading fixed

This commit is contained in:
Pupil
2020-02-23 21:18:19 +09:00
parent 03444f070f
commit 9bddf95013
7 changed files with 40 additions and 11 deletions

View File

@@ -122,6 +122,8 @@ class ReaderAdapter(private val context: Context,
val progress = DownloadWorker.getInstance(context).progress[galleryID]?.get(position)
if (progress?.isInfinite() == true && images != null) {
holder.view.reader_item_progressbar.visibility = View.GONE
glide
.load(images)
.diskCacheStrategy(DiskCacheStrategy.NONE)