IllegalStateException: Could not find method handlerDemo(View) in a parent or ancestor Context for android:onClick attribute defined on view class androidx.appcompat.widget.AppCompatButton
IllegalStateException: Could not find method handlerDemo(View) in a parent or ancestor Context for android:onClick attribute defined on view class androidx.appcompat.widget.AppCompatButtononClick里声明调用的方法名和实现的时候写的方法名不一致一个zz的小错误,写下来印象深刻一些 ~...