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

onImageLoaded not called with 3.4.0 #130

Closed
GreenSkinMonster opened this issue Oct 13, 2015 · 1 comment
Closed

onImageLoaded not called with 3.4.0 #130

GreenSkinMonster opened this issue Oct 13, 2015 · 1 comment

Comments

@GreenSkinMonster
Copy link

Hi,

Thank you for this awesome library, it helped me a lot in my project.

I use following code to hide loading progress bar when image is ready.
It worked fine with 3.2.0 and 3.3.0, but not work with latest version 3.4.0
onImageLoaded didn't always get called after image is shown.

wvImage.setOnImageEventListener(new SubsamplingScaleImageView.DefaultOnImageEventListener() {
    @Override
    public void onImageLoaded() {
        progressBar.hide();
    }

    @Override
    public void onImageLoadError(Exception e) {
        progressBar.hide();
        Logger.e("loading error", e);
    }
});

Thanks.

@davemorrissey
Copy link
Owner

This will be fixed in the next release

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

2 participants