dependencies { implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' } Glide.with(context) .load(imageUrl) .diskCacheStrategy(DiskCacheStrategy.ALL) .into(imageView);