Can we have 2 different type of custom views in single ListActivity
<p>I try to mimic</p>

<p><img src="http://i.stack.imgur.com/L4WzC.jpg" alt="enter image description here"></p>

<p>By writing my own custom view (to display individual stock information) for ArrayAdapter.</p>

<p><a href="https://github.com/yccheok/jstock-android/blob/c89aede414fd73e45475cf5b0abd1d5cc1164150/res/layout/custom_row_view.xml" rel="nofollow">custom_row_view.xml</a></p>

<pre><code>// OrderAdapter is derived from ArrayAdapter.
OrderAdapter orderAdapter = new OrderAdapter(this, 
    R.layout.custom_row_view, new ArrayList&lt;Object&gt;());
</code></pre>

<p>The code for <code>OrderAdapter</code> is as follow.</p>

<pre><code>public class OrderAdapter extends ArrayAdapter&lt;TransactionSummary&gt; {

    public OrderAdapter(Context context, int textViewResourceId,
            List&lt;TransactionSummary&gt; objects) {
        super(context, textViewResourceId, objects);
    }

    public View getView(int position, View convertView, ViewGroup parent) {
        View row = convertView;
        if (row == null) {
            LayoutInflater vi = (LayoutInflater)getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
            row = inflater.inflate(R.layout.custom_row_view, parent, false);
        }        
    }
}
</code></pre>

<p><img src="http://i.stack.imgur.com/LWpGm.png" alt="enter image description here"></p>

<p>But in the constructor of ArrayAdapter, it only accept 1 type custom view. Hence, I have no idea how I can fit in another type of custom view (to display total of ALL stocks summary) at the end of this list.</p>

<p>May I know how I can have 2 different custom views for a single ListActivity?</p>
