title: ArrayMap with ArrayAdapter in Gridview
body: <p>I would like to display the key/value pairs of an ArrayMap with an ArrayAdapter in a GridView with two columns.</p>
  
  <pre><code>ArrayMap&lt;String, String&gt; testmap = new ArrayMap&lt;String, String&gt;();
      testmap.put("one", "eins");
      testmap.put("two", "drei");
      testmap.put("three", "vier");
      testmap.put("four", "fünf");
      testmap.put("five", "sechs");
  
      ArrayAdapter&lt;String&gt; itemsAdapter = new ArrayAdapter&lt;String&gt;(this,     android.R.layout.simple_list_item_1, testmap);
      GridView gridView = (GridView) findViewById(R.id.list);
      gridView.setAdapter(itemsAdapter);
  </code></pre>
  
  <p>This is the error message:</p>
  
  <pre><code>Error:(49, 45) error: no suitable constructor found for  
  ArrayAdapter(NumbersActivity,int,ArrayMap&lt;String,String&gt;)
  constructor ArrayAdapter.ArrayAdapter(Context,int,int) is not          applicable
  (argument mismatch; ArrayMap&lt;String,String&gt; cannot be converted to int)
  constructor ArrayAdapter.ArrayAdapter(Context,int,String[]) is not    applicable
  (argument mismatch; ArrayMap&lt;String,String&gt; cannot be converted to  String[])
  constructor ArrayAdapter.ArrayAdapter(Context,int,List&lt;String&gt;) is not applicable
  (argument mismatch; ArrayMap&lt;String,String&gt; cannot be converted to    List&lt;String&gt;)
  </code></pre>
  
  <p>Thanks for the help!</p>