put ImageView src to HashMap<String, String>
<p>Please take a look my code first:</p>

<pre><code>private ArrayList&lt;HashMap&lt;String, String&gt;&gt; list = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();

//... 
ImageView temp = new ImageView(MyApp.this);
temp.setImageResource(R.drawable.icon);
//...
HashMap&lt;String, String&gt; map = list.get(i);
map.put("pic", temp.toString()); //"pic" will map to a ImageView
</code></pre>

<p><strong>Here is my questione:</strong></p>

<p>I know,</p>

<pre><code>map.put("pic", temp.toString());
</code></pre>

<p>is wrong.</p>

<p>But what is the correct way.</p>

<p>Thanks in advance.</p>
