I use this animation chainer a fair bit in my apps so I thought I’d share the improvements here.
Firstly, the system has been greatly simplified – I’ve cut a lot of superfluous junk out.
It now supports Stop, Pause and Resume 🙂
It takes a framework element in the constructor of the AnimationChainManager. This is to get around the problem where animations would appear jumpy (and sometimes not at all!).
It supports animation easing.
It supports callbacks using lambdas to make it very easy to calculate your next dynamic animation.
Hope you enjoy!