Using anonymous classes when calling interfaces
<p>I'm trying to fully integrate the concept of anonymous classes and interfaces in Android and Java.  In another thread a reply was given 
to a question regarding something like: </p>

<pre><code>getQuote = (Button) findViewById(R.id.quote);

getQuote.setOnClickListener(new View.OnClickListener() {

    @Override
    public void onClick(View v) {

        // Do something clever
    }
}
</code></pre>

<p>"What is sent in there is an anonymous class, you could just as well make a separate class which implements OnClickListener and make an instance of that class and send that in as the argument to setOnClickListener." -- Jon</p>

<p>My question is what would the code look like if you went the long route of creating a separate class that implements OnClickListener?
I think if I saw the long route it would make more sense.  Many thanks!</p>
