Skip to content

agap/picassos3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

PicassoS3 - the Picasso's Downloader implementation which allows you to download images stored on Amazon S3 and secured by AWS IAM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages