In android, how do you modify this code to populate two textviews instead of one?
<p>I am trying to modify the sample code below. It currently populates a View that contains an imageview and a textview. I have added an additional textview to my XML layout and am trying to figure out how to replace the simple array with a hash map or even a multidimensional array to populate not just the imageview and the first textview but also the second one.</p>

<p>I would appreciate sample code that shows the entire process. Thanks!</p>

<pre><code>public class DynamicDemo extends ListActivity { 
  TextView selection; 
  private static final String[] items={"lorem", "ipsum", "dolor", 
          "sit", "amet"}
  @Override 
  public void onCreate(Bundle icicle) { 
    super.onCreate(icicle); 
    setContentView(R.layout.main); 
    setListAdapter(new IconicAdapter()); 
    selection=(TextView)findViewById(R.id.selection); 
  } 

  public void onListItemClick(ListView parent, View v, 
                             int position, long id) { 
   selection.setText(items[position]); 
  } 

  class IconicAdapter extends ArrayAdapter&lt;String&gt; { 
    IconicAdapter() { 
      super(DynamicDemo.this, R.layout.row, R.id.label, items); 
    } 

    public View getView(int position, View convertView, 
                       ViewGroup parent) { 
      View row=super.getView(position, convertView, parent); 
      ImageView icon=(ImageView)row.findViewById(R.id.icon); 

      if (items[position].length()&gt;4) { 
        icon.setImageResource(R.drawable.delete); 
      } 
      else { 
        icon.setImageResource(R.drawable.ok); 
      } 

      return(row); 
    } 
  }
} 
</code></pre>
