Android : Button click event not fire properly in

on Friday, September 19, 2014


I have three XML files are


1) Header 2) FirstActivity 3) SecondActivity.


I add Header file in 1st and 2nd activity using < include /> tag.


There are two button in header file, which I want to use as navigate from one intent to another.


But I got ERROR every time …


ERROR/AndroidRuntime(328): java.lang.IllegalStateException: Could not find a method first1


(View) in the activity class com.contactDetails.ContactDetailsActivity for onClick handler on view class


android.widget.Button with id 'button1'


0 comments:

Post a Comment