Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement image caching. Then it would be awesome. Right now while offline this library cannot load images from url even though once they are downloaded. #1011

Closed
aneesu401 opened this issue May 7, 2015 · 3 comments

Comments

@aneesu401
Copy link

No description provided.

@JakeWharton
Copy link
Member

Disk-based caching for this use-case is the responsibility of the HTTP client. If you use OkHttp and install a disk cache it will store images for offline use in accordance to their cache headers. This is completely outside of Picasso's control–Picasso has no disk cache, only the HTTP client.

@aneesu401
Copy link
Author

Yes i understood.

Before i was using lazy loading images refering the below link:
http://androidexample.com/Download_Images_From_Web_And_Lazy_Load_In_ListView_-_Android_Example/index.php?view=article_discription&aid=112&aaid=134

It was helpful for caching the images also. but i was slow. Then i found your library which i felt is pretty much faster and maintain quality of images after downloading. Still i believe i would stick with this library(picasso) if caching feature was there.

@JakeWharton
Copy link
Member

We implement memory caching for all source from which images are loaded. Whether that source loads the image or persists it locally on disk is completely transparent to Picasso and we are not going to start being in the business of disk caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants