Android Development: listview images
<p>Ive used this so far:</p>

<pre><code>setListAdapter(new ArrayAdapter&lt;String&gt;(this,R.layout.list, R.id.label, names));
</code></pre>

<p>list.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content" android:layout_width="match_parent"&gt;

    &lt;ImageView android:id="@+id/icon" 
    android:layout_height="wrap_content" 
    android:src="@drawable/icon" 
    android:layout_width="22px" 
    android:layout_marginTop="15px" 
    android:layout_marginRight="4px" 
    android:layout_marginLeft="4px"&gt;
        &lt;/ImageView&gt;

    &lt;TextView android:text="@+id/TextView01" 
    android:layout_width="wrap_content"
     android:layout_height="wrap_content"
      android:id="@+id/label" android:textSize="35px"&gt;&lt;/TextView&gt;



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

<p>That works however my question is how i make every item unique(i have a lot of image in R.drawable)</p>

<p>So on the item dog i want a dog picture and the cat item is going to be a cat. Now is every item the default app icon.</p>

<p>Thank you!</p>
