title: Get position in ListView
body: <p>I use ListView to show several items.
  My row.xml as below:</p>
  
  <pre><code>&lt;TextView android:text="text"
  android:id="@+id/tvViewRow"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"&gt;
  &lt;/TextView&gt;
  &lt;Button android:text="Click me!"
  android:id="@+id/BtnToClick"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:onClick="myClick"&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>And I define myClick in Activity as below:</p>
  
  <pre><code>public void myClick (View v) {
  LinearLayout vwParentRow = (LinearLayout)v.getParent();
  //How to get the position
  }
  </code></pre>
  
  <p>How to know the position which buttom be clicked?
  The position mean same as the method onListItemClick's.</p>
  
  <pre><code>@Override
  protected void onListItemClick(ListView l, View v, int position, long id) {
  }
  </code></pre>