<Download multiple images in a CoroutineScope> I n...
# stackoverflow
u
Download multiple images in a CoroutineScope I need to download multiple images, and after all downloads are completed (outside of the Main Thread), perform other actions in the activity. I am currently using Glide to download as follows: ImageDownloader.kt class ImageDownloader { fun downloadPack(context: Context, path: String, pack: PackModel) { for (image: ImageModel in pack.images) { Glide.with(context) .asBitmap() .load(image.imageFileUrl) .listener(object :...