안드로이드 could not find method xxx in a parent or ancestor Context for android:onClick attribute
안녕하세요. 개발자 드리머즈입니다. java.lang.IllegalStateException: Could not find method onRadioButtonClicked(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatRadioButton with id 'rb_income' 코딩을 하다가 위의 에러를 만났습니다. 원래는 Activity에서 잘 동작하던 코드와 레이아웃을 Fragment 형태로 변경하니 발생했습니다.위 에러가 의미하는 것은 레이아웃 xml에서 특정 view가 클릭되면 불릴 함수를 설정하는 attribute인 andr..