Hi,
I started to include animations on some drawables by using the animate() method. This works good. But if I switch too fast between screens especially switch a screen if one animation didn't end on the hiding screen, the animation on the next screen doesn't finish and stops anywhere in the middle ending up with a messed screen.
This happens only on my F6X pro and not in the sim.
I tried to include an
Ui.cancelAllAnimations();
in the onHide() method, but this throws an error as if the function wouldn't exist at all:
Error: Symbol Not Found Error
Details: Could not find symbol 'cancelAllAnimations'
Are there any tricks to get a proper animation even if screens are switched fast?