add second onclick to Listview
<p>I want to add a second <code>on click</code> to a ListViewItem.
I already created the View (ImageView) and i set the on Click. The function gets called. 
But: How can i get the Informations of this ListViewItem? It would be enough to get the Position in the ListView?</p>

<p>The ImageView:</p>

<pre><code>&lt;ImageView
    android:id="@+id/imageView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="right|center_vertical"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:onClick="favorite"
    android:src="@drawable/star" /&gt;
</code></pre>

<p>The code for my on click function:</p>

<pre><code>public void favorite(View view){
    ImageView iView = (ImageView) view;
    iView.setImageResource(R.drawable.star_checked);

    ViewParent v = iView.getParent();
}
</code></pre>
