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

Apps Quick methods help

Sam Voss

Android Enthusiast
Okay, so I've been working onto an application and I am trying to split the one java file into multiple, so, the problem I'm getting is that in the main, I typed
Listener listener = new Listener();
After making a class called Listener, then putting an OnClick listener in the class, and in the spot wyere ot asks for what the listener is called I put in
listener.listenername();
Whenever I click the button it forcecloses, any suggestions? If you need anymore info just let me know and ill get it, thanks
 
Back
Top Bottom