I am using the Amazon S3 service Android API to upload an image to the server. When I use their code to download the image again, the method parameters requires me to pass a File to save this image to, but I would like to upload this image to an image view. How am I supposed convert this to a drawable?
this is the method:
TransferObserver observer = transferUtility.download(
MY_BUCKET, /* The bucket to download from */
OBJECT_KEY, /* The key for the object to download */
MY_FILE /* The file to download the object to */
);