A bug of demo app: animation name isn't updated
luqiming666 opened this issue · 0 comments
luqiming666 commented
Steps to reproduce:
- add an animation;
- delete this animation;
- 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();
}