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

Allow specifying a Picasso instance to use when loading images #107

Merged
merged 1 commit into from
May 14, 2015
Merged

Allow specifying a Picasso instance to use when loading images #107

merged 1 commit into from
May 14, 2015

Conversation

kojustin
Copy link
Contributor

In my application I'm already using Picasso and OkHttp to perform various image loading and HTTP requests. OkHttp and Picasso are able to share a common HTTP cache if the Picasso instance is configured correctly.

This change allows the user to supply a Picasso instance for AndroidImageSlider library to use. With this change I can turn on Picasso's debug indicators and I can see that the slider widget is using the same cache that the rest of my application is using.

Add methods to allow configuring the Picasso instance used by the slider
when it loads images.
@daimajia
Copy link
Owner

👍

daimajia added a commit that referenced this pull request May 14, 2015
Allow specifying a Picasso instance to use when loading images
@daimajia daimajia merged commit 3c9862e into daimajia:master May 14, 2015
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

Successfully merging this pull request may close these issues.

2 participants