Skip to content

AtifSayings/picassos3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Have you ever wanted to use Square's Picasso Android library to download images stored on the Amazon S3 and secured by IAM? It's simple - just set up your AmazonS3Client, create the new S3Downloader instance and pass it to the Picasso.Builder like so:

final AmazonS3Client client = new AmazonS3Client(getCredentialsProvider());

new Picasso.Builder(getApplicationContext())
    .downloader(new S3Downloader(
        s3client,
        context,
        "your-image-bucket"
    ))
    .build()
    .load(getImagePath())
    .into(image);

That's it.

Fixes, PRs and such are highly appreciated.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages