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

AnimationListener Not Work #598

Open
Jerome-MJ opened this issue Oct 12, 2018 · 7 comments
Open

AnimationListener Not Work #598

Jerome-MJ opened this issue Oct 12, 2018 · 7 comments
Labels

Comments

@Jerome-MJ
Copy link

I have an animation, about 270ms, but I did not execute onAnimationCompleted after execution.

GifDrawable gifDrawable = new GifDrawable(bitmap.getX());
gifDrawable.setLoopCount(1);
if (gifDrawable.getDuration() > 100) {
       gifDrawable.addAnimationListener(new AnimationListener() {
                @Override
                public void onAnimationCompleted(int loopNumber) {
                      Log.e("liumj","走了onAnimationCompleted");
                       }
       );
}
gifDrawable.start();
@koral--
Copy link
Owner

koral-- commented Oct 12, 2018

Could you attach affected GIF file here or send it via e-mail?

@koral--
Copy link
Owner

koral-- commented Oct 17, 2018

Thanks, I'll check that.

@koral-- koral-- added the bug label Oct 21, 2018
@koral--
Copy link
Owner

koral-- commented Oct 21, 2018

I was able to reproduce this issue. I'll fix it ASAP.

@MonikaJethani
Copy link

@koral-- Is this fixed? Can I work on this?

@koral--
Copy link
Owner

koral-- commented May 15, 2019

Sorry for the delay, it is not fixed yet.

@vish9431
Copy link

vish9431 commented Oct 3, 2023

can u assign me to fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants