Android Anonymous Delegate
<p>Coming from a .NET C# background, new to Java....</p>

<p>How do I re-write this code to point the listener to a normal function?</p>

<pre><code>confirmButton.setOnClickListener(new View.OnClickListener() {
     public void onClick(View view) {
    //Some Code Here;
     }
});
</code></pre>
