Hello,
In the layout of my fragment I have a ImageButton where I use the android:onClick option. But when I tap on the button I get this error: Failed to handle callback; interface not implemented, callback:android.view.View$PerformClick@410a5308 java.lang.IllegalStateException: Could not find a method close(View) in the activity class xxx for onClick handler on view class android.widget.ImageView Why the callback method must be in the FragmentActivity class and not in the Fragment class? Ralph -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en