Using this library
to implement Ripple Effect
and it works just fine except on Android M
devices.
On Android M Devices getting IllegalStateException
that says Underflow in restore - more restores than saves
FATAL EXCEPTION: main
Process: com.example.ripplethings, PID: 20119
java.lang.IllegalStateException: Underflow in restore - more restores than saves
at android.graphics.Canvas.native_restore(Native Method)
at android.graphics.Canvas.restore(Canvas.java:540)
at com.andexert.library.RippleView.draw(RippleView.java:166)