Creating a custom hashmapadapter
<p>If I have a hashmap containing the following:</p>

<pre><code>Hashmap contains (String, String)
</code></pre>

<p>How can I instantiate a custom adapter? The custom adapter should extend baseadapter. 
I need to combine both key and value so it looks something like "KEY+VALUE", "KEY+VALUE"... and assign this to an array VALUES. The array VALUES is used later on when I insantiate my custom adpter.</p>

<p>Instantiation should look something like this:</p>

<pre><code>MyCustomAdapter adapter = new MyCustomAdapter(this, android.R.layout.simple_list_item_1, VALUES);   
setListAdapter(adapter)
</code></pre>

<p>I am lost here so code would be a big help.</p>

<p>THANKS
graham </p>

<p>The following list is using as its datasource a string array called items.  </p>

<pre><code>public ArrayList&lt;String&gt; myList = new ArrayList&lt;String&gt;(Arrays.asList(items)); 
</code></pre>

<p>however items is a string array which I would like to stop using and instead start using concatenated key+value pairs from my hashmap</p>

<p>so instead of the user being presented a list of items he will be presented a list of key+value pairs taken from the hashmap hm</p>
