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

Best practices for using ImageLoader with custom Views? #41

Open
acj opened this issue Jan 15, 2014 · 0 comments
Open

Best practices for using ImageLoader with custom Views? #41

acj opened this issue Jan 15, 2014 · 0 comments

Comments

@acj
Copy link

acj commented Jan 15, 2014

First, thank you for this excellent contribution. This library is a delight to use.

I have a project that uses a lot of custom Views. My previous image caching library used a singleton that was visible to the custom Views, so they were able to manage their own image loading. The documentation for this library recommends that each Fragment and Activity get its own ImageLoader instance, but it's somewhat awkward to make that instance available to custom Views.

Any recommendations? Is passing the ImageLoader to each View the best option?

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

1 participant