• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Button click on fragment

Renji

Newbie
In my application i am using sliding menu.For that i am having a main fragment ( extended with fragment Activity) and a sub activity (extends fragment). In the main fragment i am having 2 buttons one for invoke the sliding option and other one for perform some functionality. I can create the object of the second button on sub fragment. When i am performing the click event on second button the application get closed and in the log-cat it showing null pointer exception on the button.

Is there is any way to solve this problem ...???
 
Back
Top Bottom