material icon indicating copy to clipboard operation
material copied to clipboard

Exception in Button (onClick event) after the update to support library 23.4.0

Open alistefano opened this issue 9 years ago • 0 comments

Hi @rey5137, today I updated my app to support library 23.4.0 and latest version of material library .

After the update, all my Material Buttons fail to handle the onClick event, with this exception: java.lang.IllegalArgumentException: Expected receiver of type com.myapppackage.myappclass, but got android.support.v7.widget.TintContextWrapper

There is a issue open on google code that talks about this bug: https://code.google.com/p/android/issues/detail?id=174871 It's because the library uses the AppCompat Buttons.

alistefano avatar Aug 02 '16 18:08 alistefano