How do I get information from a List Item onClick?
<p>I am using a listView that is being populated from a database. I know that I can use the onClick listener to get the position. But once I have the position how do I get further information? For instance, if there is a name textView in the list item, how do I get that?</p>

<p>

 </p>

<pre><code>  &lt;LinearLayout android:layout_alignParentTop="true" android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="wrap_content"&gt;
  &lt;TextView android:id="@+id/textName" android:layout_weight=".65" android:layout_height="wrap_content"  android:textStyle="bold" android:textSize="16sp" android:text="Item Label" android:layout_width="0sp" android:textColor="#FFFFFF" android:layout_marginLeft="10px"&gt;&lt;/TextView&gt;
  &lt;TextView android:layout_height="wrap_content" android:id="@+id/textTime" android:layout_width="0sp" android:layout_weight=".35" android:text="Time" android:layout_gravity="right" android:gravity="right" android:textSize="12sp" android:textColor="#FFFFFF" android:layout_marginRight="10px"&gt;&lt;/TextView&gt;
 &lt;/LinearLayout&gt;
  &lt;TextView android:layout_width="wrap_content" android:id="@+id/textAddress" android:text="address" android:layout_height="wrap_content" android:layout_marginLeft="30sp" android:layout_below="@+id/linearLayout1" android:layout_alignLeft="@+id/linearLayout1" android:textColor="#FFFFFF"&gt;&lt;/TextView&gt;
  &lt;TextView android:layout_width="wrap_content" android:layout_toRightOf="@+id/textAddress"  android:text="" android:layout_height="wrap_content" android:layout_alignTop="@+id/textAddress" android:layout_alignBottom="@+id/textAddress" android:id="@+id/textCross" android:textColor="#FFFFFF"&gt;&lt;/TextView&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p></p>
