title: best implementation of onclick()
body: <p>i just started developing in android a couple of weeks ago. i am working a simple app that has 2 activities  but one activity has 15 buttons. right now i am using</p>
  
  <pre><code>button = (Button) findViewById(R.id.button1);
  button.setOnClickListener(new OnClickListener() {/* Some Code */ });
  </code></pre>
  
  <p>for each button inside my onCreate. this approach seems excessive to me and maybe not the best way.</p>
  
  <p>I know about the 5 different forms of using onClick and implementing onClickListeners but I am asking which way would be the proper way of doing it. Best practices.</p>
  
  <p>Thank You.</p>