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 callers to specify their own Handler #231

Merged
merged 1 commit into from
Apr 4, 2013

Conversation

mlc
Copy link
Contributor

@mlc mlc commented Apr 4, 2013

It's probably pretty unusual, but sometimes we need to override the Image Loader's behavior of calling the no-argument new Handler() constructor to create a Handler for calling the LoadAndDisplayImageTask. The patch here allows callers to set their own Handler in the DisplayImageOptions if needed.

This is probably primarily useful if you're using loadImage() rather than displayImage().

nostra13 added a commit that referenced this pull request Apr 4, 2013
Introduce DisplayImageOptions.handler()
@nostra13 nostra13 merged commit cc65a88 into nostra13:master Apr 4, 2013
@mlc mlc deleted the custom_handler branch May 2, 2014 15:07
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