title: Android View Parameter for OnClickListener Method
body: <p>please dont mind if   stupid question  but please  i need to clear my confusion .. </p>
  
  <p>For  <code>OnClickListener</code>  on  a button in android  i did  put this in <code>main.xml</code></p>
  
  <pre><code>&lt;Button
      android:id="@+id/button1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentTop="true"
      android:text="Button"
      android:onClick="clicked"
  /&gt;
  </code></pre>
  
  <p>and in  java file i did </p>
  
  <pre><code>  public void clicked(View v)
    {
     //  my code here 
    }
  </code></pre>
  
  <p>my question is  why we need to pass <code>View view</code>   when we call   <code>clicked</code> method .  </p>