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

Introduce EventListener. #314

Merged
merged 7 commits into from
Mar 19, 2020
Merged

Introduce EventListener. #314

merged 7 commits into from
Mar 19, 2020

Conversation

colinrtwhite
Copy link
Member

@colinrtwhite colinrtwhite commented Mar 15, 2020

Introduce an ImageLoader-scoped listener named EventListener. This is useful for analytics, performance, or other metrics tracking.

Fixes #310.

BREAKING CHANGE: Pass the full request object to Request.Listener instead of just its data.

@colinrtwhite colinrtwhite changed the title Introduce an ImageLoader-scoped listener named EventListener. Introduce EventListener. Mar 15, 2020
@colinrtwhite colinrtwhite merged commit df9481f into master Mar 19, 2020
@colinrtwhite colinrtwhite deleted the colin/event_listener branch March 19, 2020 06:33
colinrtwhite added a commit that referenced this pull request Oct 5, 2022
* Introduce EventListener. Change Request.Listener to receive the request.

* Pass Options as well.

* Docs.

* Re-arrange.

* Docs.

* Docs.

* Add test.
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.

Support ImageLoader event listener API.
1 participant