title: android 2d array to listview
body: <p>so i've got this piece of code and i want it to output attr1 and attr2 in the listview, but the current error i get is: cannot resolve constructor. Here is the piece of code:</p>
  
  <pre><code> private String[][] content = {
          {"attr1", "url1"},
          {"atrr2", "url2"}
  };
  
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main_activity);
      ListView lv = (ListView) findViewById(R.id.lv);
      for(int i = 0; i &lt; content.length; i++) {
          ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, content[i][0]);
          lv.setAdapter(adapter);
      }
  
  
  }
  </code></pre>
  
  <p>Hopefully somebody could help me, thanks in advance (sorry for the bad english)</p>