This commit is contained in:
tom5079
2020-09-07 10:00:10 +09:00
parent 6f6956ce27
commit f408a91176
6 changed files with 11 additions and 10 deletions

View File

@@ -93,11 +93,10 @@ class GalleryBlockAdapter(private val glide: RequestManager, private val galleri
val imageList = cache.metadata.imageList!!
progress = imageList.filterNotNull().size
max = imageList.size
if (visibility == View.GONE) {
if (visibility == View.GONE)
visibility = View.VISIBLE
max = imageList.size
}
if (progress == max) {
val downloadManager = DownloadManager.getInstance(context)