ExpandableListView: Distinct View Groups
<p>I'm trying to subclass an ExpandableListView so that I can add distinct groups.</p>

<p>By distinct groups, I mean that each group contains a different child view type (where all the childeren are the same throughout a group).</p>

<p>That is:</p>

<pre><code>Group 1
   TextView 1
   TextView 2
   TextView 3
Group 2
   EditText 1
   EditText 2
   EditText 3
...
</code></pre>

<p>I tried stacking two ELV ontop of each other in a LinearLayout, however the main behavior I'm trying to obtain (which is the only reason I'm using a ELV in the first place) is lossed: each list becomes independently scrollable, where if a single ELV is used that contains multiple groups, they will all scroll together).</p>

<p>I've already seen the post</p>

<p><a href="http://stackoverflow.com/questions/1353101/how-to-add-image-in-expandable-list-in-parent-in-android">How to add image in expandable List in parent in android?</a></p>

<p>However this isn't quite what I'm looking for. This solves the problem for multiple, distinct children within a group:</p>

<pre><code>Group 1
    TextView 1
    Image 1
    ----------
    TextView 2
    Image 2
    ...
</code></pre>

<p>I'm sure with enough time I might be able to figure it out from this, but I wanted to see if anyone has already done it before.</p>

<p>I already implemented my ELV adapter and got everything compiling and running ok, and am now ready to adapt the code to solve this particular problem.</p>

<p>Thank you.</p>
