How can I set image for item in ListView?
<p>I have code for creating adapter for ListView:</p>

<pre><code>ListView films=(ListView)findViewById(R.id.listViewCurrentFilms);

ArrayList&lt;HashMap&lt;String, String&gt;&gt; list=getList();

String[] fields=new String[]{"title", "director", "cast"};
int[] resources=new int[]{R.id.textViewFilmName, R.id.textViewDirector, R.id.textViewStart};

SimpleAdapter adapter=new SimpleAdapter(this, list, R.layout.film_item, fields, resources);
films.setAdapter(adapter);
</code></pre>

<p>But I have an ImageView in film_item, and I also need to bind different images from drawable for each item in ListView. How can I do it? Thank you. </p>
