rey5137 / material

A library to bring fully animated Material Design components to pre-Lolipop Android.
http://rey5137.com/material/
Apache License 2.0
6.01k stars 1.32k forks source link

How to monit the Ripple Animation? I think launch or do something after the ripple animation is finished is a better way #369

Open ghost opened 8 years ago

ghost commented 8 years ago

How to monit the Ripple Animation? I think launch or do something after the ripple animation is finished is a better way.

Something like a Listener of Animation Finish.

Because if the Animation is showing and start Activity at the same time, the UE is bad,like something is interrupt or dropping frames.

rey5137 commented 8 years ago

You can use rd_delayClick attribute to delay firing click event until animation end. Please view Wiki for more details.