Closed lion4ik closed 7 years ago
Actually I did something like that. Instead of using the animations you must set the progress yourself. The call is:
pathView.setPercentage(0.5f);
This will give you exactly half of the svg path animation, so you can hook it up with something that is changing that value from 0 to 1 and then from 1 to 0. Should be easy.
I mean animate from drawn state to erased state. Actually, I want to do cyclic animation for progress loader, which will be animate painting then animate erasing then again painting and then erasing and so on... Could you give me a hint how to do it ?