Modifier-API
Right now some animations are inflexible and sometimes useless because of that. The best example are the Slide* animations.
With this merge request only the Expand, Contract and Slide* animations support modifying the animation. If needed, this API can be extended to other animations to.
Here are some examples:
new SlideOutDown(node) .setResetOnFinished(true) .applyAnimationModifier(new SlideModifier(45)) .play();
var mod = new ScaleModifier();
mod.setEndScale(1.5);
new Expand(node).applyAnimationModifier(mod).play();
This merge request also has a few adjustments for Gradle 8 and 9 compatiblity.
The Expand and Contract animations have breaking changes, they don't have the setBeginScale and setEndScale methods anymore.