traex / RippleEffect

Implementation of Ripple effect from Material Design for Android API 9+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I use it in a GridView?

Rachel030219 opened this issue · comments

I want to use it in a GridView,but the events always start before the animation finishes.How can I fix it?(I am a Chinese so my English isn't so well...)

Use the .setOnRippleCompleteListener() inside your Gridview onClick() listener and start your events on the onComplete(RippleView) versus your gridview onClick() listener.

Thanks,snappy46.I got it.(・∀・)