title: Android Listview with multiple columns
body: <p>I'm trying to do a C# Android Listview that supports multiple columns.
  I found some code how to do a Listview here: 
  <a href="http://www.heikkitoivonen.net/blog/2009/02/15/multicolumn-listview-in-android/" rel="nofollow">http://www.heikkitoivonen.net/blog/2009/02/15/multicolumn-listview-in-android/</a></p>
  
  <p>However this is Java code so I converted it to C# as follows:</p>
  
  <pre><code>        // List view control
          ListView list = (ListView) FindViewById(Resource.Id.mylist);
          List&lt;Dictionary&lt;string, string&gt;&gt; mylist = new List&lt;Dictionary&lt;string, string&gt;&gt;();
          Dictionary&lt;string, string&gt; map = new Dictionary&lt;string, string&gt;();
  
          map.Add("Profit Centre", "Systems");
          map.Add("Last Updated", "16/02/2012 15:34");
          mylist.Add(map);
          map = new Dictionary&lt;string, string&gt;();
          map.Add("Profit Centre", "IDTS");
          map.Add("Last Updated", "20/02/2012 10:26");
          mylist.Add(map);
  
          SimpleAdapter mSchedule = new SimpleAdapter(this, mylist, Resource.Layout.list_item,new String[] {"Profit Centre", "Lasted Updated",}, new int[] { Resource.Id.columnA,  Resource.Id.columnB});
  
          list.Adapter = mSchedule;
  </code></pre>
  
  <p>The SimpleAdapter complains that the 2nd parameter is incorrect. It reports this</p>
  
  <p>ERROR 1 = </p>
  
  <p>The best overloaded method match for 'Android.Widget.SimpleAdapter.SimpleAdapter(Android.Content.Context, System.Collections.Generic.IList>, int, string[], int[])' has some invalid arguments</p>
  
  <p>ERROR 2 =</p>
  
  <p>Argument 2: cannot convert from 'System.Collections.Generic.List>' to 'System.Collections.Generic.IList>' </p>
  
  <p>Why is this? Please could you help me as I have researched using google to see if there are ways of creating a Listview (for Android) with multiple columns but cannot find any in C#, only Java code.</p>
  
  <p>Thanks,</p>
  
  <p>Andrew Ashcroft</p>