ozodrukh/RippleDrawable

CardView inside RycyclerView on devices < L

guguza opened this issue · 1 comments

Error occurs when I try to use your library on CardView inside RecyclerView on devices older then L, but on Lollipop devices everything is fine. Throws java.lang.ClassCastException: dreamers.graphics.RippleDrawable cannot be cast to android.support.v7.widget.RoundRectDrawableWithShadow.
What is wrong?
Thanks in advance.

because use replaced CardViews original background, set ripple to inner view