My android app shows images which is downloaded from AWS S3
. For now I download the images to the local storage, and show images from the downloaded images.
But, it would be annoying from the user's perspective.
How can I display image from AWS S3
without downloading into the local storage. It would be great if I can display images not with the file but with image url.
It might be possible by set the files on ASW S3
to public, which I want to avoid for security issues.
Firstly generate pre-signed AWS S3 URL and then load image using Glide. Below are steps:
How to generate pre-signed AWS S3 bucket URL check here
Load image using Glide: