Appolica / Flubber

Flubber is an elegant solution for making animations in Android. The library is developed and maintained by Appolica.
Apache License 2.0
267 stars 51 forks source link

A bug of demo app: animation name isn't updated #18

Open luqiming666 opened 2 years ago

luqiming666 commented 2 years ago

Steps to reproduce:

  1. add an animation;
  2. delete this animation;
  3. add a different animation

End-result: the very first animation name is shown instead of the newly added one. I created a fix on my forked branch, as below:

public void bindTo(CustomAnimationBody animationBody) {
            binding.getModel().setAnimationBody(animationBody);
            binding.invalidateAll();
}