Using the new and improved AnimatedVectorDrawable to pause and seek your animations.
Android SDK 21 introduced both the
VectorDrawable and the
AnimatedVectorDrawable. This allowed you to use vector assets within your app, and even animate them.
They’ve iterated on these since then, but
AnimatedVectorDrawable was still missing something. You couldn’t manipulate and control the animation. There was no pause or seek functionality.