How to reset animation state?

When I install:

animationSet.setFillAfter(true); 

After that, the animated state is displayed. But before doing another animation, I need to reset the state with the old one. I need something like:

 animationSet.resetFillAfter(true); 

How can I achieve this? Is it possible?

+7
source share
1 answer

You can call yourView.clearAnimation ()

+33
source

All Articles