Should we user anonymous classes for Button click listener or Inner named class
<p>I have lots of buttons in my activity, the question comes here, </p>

<p>1) should i create multiple inner anonymous classes for clickListener for each button, like below</p>

<pre><code> private View.OnClickListener mShuffleListener = new View.OnClickListener() {
    public void onClick(View v) {
             /// task to do
    }
};
</code></pre>

<p>2) or should i go for named inner class and add if condition to check for which button listener called.</p>

<p>Which one is cool to save mem resources??</p>
