1. Download our Official Android App: Forums for Android!

Apps Quick methods help

Discussion in 'Android Development' started by Sam Voss, Jun 25, 2010.

  1. Sam Voss

    Sam Voss Android Enthusiast
    Thread Starter
    43

    Jun 25, 2010
    367
    44
    43
    Programmer, in school
    Wisconsin
    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
     

    Advertisement

Share This Page

Loading...