title: Passing Multiple Lists<String> into ArrayAdapter
body: <p>I start of with this in Activity:</p>
  
  <pre><code>adapter = new ItemAdapter(Items.this, items, totals);
          setListAdapter(adapter);
  </code></pre>
  
  <p>Now here is ItemAdapter:</p>
  
  <pre><code>public class ItemAdapter extends ArrayAdapter&lt;String&gt; {
  
  private final List&lt;String&gt; items;
  private final List&lt;String&gt; totals;
  private final Context context;
  
  public ItemAdapter(Context context, List&lt;String&gt; items,
          List&lt;String&gt; totals) {
      super(context, R.layout.item_row_layout, items);
      this.context = context;
      this.items = items;
      this.totals = totals;
  }
  
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
      LayoutInflater inflater = (LayoutInflater) context
              .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  
      View rowView = inflater
              .inflate(R.layout.item_row_layout, parent, false);
      TextView t1 = (TextView) rowView.findViewById(R.id.itemName);
      TextView t2 = (TextView) rowView.findViewById(R.id.itemTotal);
  
      String s1 = items.get(position);
      t1.setText(s1);
  
      String s2 = totals.get(position);
      t2.setText(s2);
  
  
      return rowView;
  }
  
  }
  </code></pre>
  
  <p>Now I know the problem is with the constructor because till only allow me to pass one List, not two into it.  Is there another way to do this?</p>