traex / RippleEffect

Implementation of Ripple effect from Material Design for Android API 9+
MIT License
4.92k stars 1.08k forks source link

On long click the ripple completes but onRippleCompletedListener is never called #129

Open silent10 opened 7 years ago

silent10 commented 7 years ago

On long click, while still the finger is pressed on an image button the ripple completes but the onRippleCompletedListener is not called. After the image button is released the OnClickListener is called. Ripple stays in the android default behavior of long clicks on Image Buttons but in RippleEffect the ripple completes while the finger is still on image button and onRippleCompletedListener is never called. So, ripple should stay there as long as the button is pressed and the onRippleCompletedListener should be called after the finger is released. Can you fix this?