title: adding data to a listview from string array
body: <p>I am trying to create a 4 column listview using arrayAdapter, and add values manually in the  populateList()</p>
  
  <pre><code>                      private void populateList()
                           {
  
                list = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();
  
          HashMap&lt;String,String&gt; temp1 = new HashMap&lt;String,String&gt;();
              temp1.put(FIRST_COLUMN,"Diaries");
              temp1.put(SECOND_COLUMN, "Products");
              temp1.put(THIRD_COLUMN, "Rs. 400");
              temp1.put(FOURTH_COLUMN, "ggg Unit");
          list.add(temp1);
  
          HashMap&lt;String,String&gt; temp2 = new HashMap&lt;String,String&gt;();
              temp2.put(FIRST_COLUMN,"Note Books");
              temp2.put(SECOND_COLUMN, "Products");
              temp2.put(THIRD_COLUMN, "Rs. 600");
              temp2.put(FOURTH_COLUMN, "hhh Unit");
          list.add(temp2);
  
                      }
  </code></pre>
  
  <p><strong>My problem is i want to add list items dynamically from a two dimensional array
  How it is possible??? the item count have the same size of the string array??
  ie; insted of</strong> </p>
  
  <pre><code>                          HashMap&lt;String,String&gt; temp1 = new HashMap&lt;String,String&gt;();
  
              temp1.put(FIRST_COLUMN,"Diaries");
              temp1.put(SECOND_COLUMN, "Products");
              temp1.put(THIRD_COLUMN, "Rs. 400");
              temp1.put(FOURTH_COLUMN, "ggg Unit");
  </code></pre>
  
  <p><strong>i want to display</strong></p>
  
  <pre><code>                            temp1.put(FIRST_COLUMN,"myArry[i][j]");
              temp1.put(SECOND_COLUMN, "myArry[i][j]");
              temp1.put(THIRD_COLUMN, "myArry[i][j]");
              temp1.put(FOURTH_COLUMN, "myArry[i][j]");
  </code></pre>
  
  <p><strong>in a for loop</strong>
  also my doubut is how to create hashmap dynamically</p>