-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
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();
Reactions are currently unavailable