-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
ImageLoadingListener for multiple view #130
Comments
No, you can't. ImageLoadingListener doesn't send ImageView reference so you should remember ImageView yourself, You can create something like this: class MyListener implements ImageLoadingListener {
private ImageView imageView;
public MyListener(ImageView imageView) {
this.imageView = imageView;
}
...
} but you still need to create new listener object every time you call |
Yuap... got it..Thanks. If you can extend the functionality, then later on, override one method which can send image reference. It will help us when there are many images load and every ImageLoadingListener can get image reference. Will help users. Sometimes it is required to do something when each image loads. Once again thanks for help :) |
It requires to change API. Maybe in the future. |
Yuap.. It's okay.. Will wait for new API.. :) |
(String imageUri, Object extra) (#130) Introduced DisplayImageOptions.extraForListener(Object extra)
Can I use one ImageLoadingListener for multiple imageviews.?. onLodingComplete I want to set border to particular imageview. but ImageLoadingListener does not send any view.
I have another way to do this stuff by setting different-different ImageLoadingListener for all view.
The text was updated successfully, but these errors were encountered: