title: Alternate view for an empty group in an expandableList
body: <p>The question is simple, but I can't make it work.
  I have a expandable list with 3 header, they can be either populated or empty.</p>
  
  <p>I wish to show a simple textview when you expand a group that is empty, I've been looking for a while but nothing seems to work.
  i can't use setEmpty() because this will only work if all the groups are empty.</p>
  
  <p>I found a similar thread here: <a href="https://stackoverflow.com/questions/18667707/expandablelistview-empty-group-message">ExpandableListView - empty group message</a></p>
  
  <p>If i try to do as the accepted answer suggested, so:</p>
  
  <pre><code>@Override
  public int getChildrenCount(int groupPosition) {
      if(this._listDataChild.get(this._listDataHeader.get(groupPosition))
              .size() != 0){
          return this._listDataChild.get(this._listDataHeader.get(groupPosition))
                  .size();        
      }
      return 1;
  }
  </code></pre>
  
  <p>I get an error when i try to expand the empty group ... And I don't think this would work anyway, for instance what will happen if I have a group with 1 child, will it be considerated as empty ??</p>
  
  <p>EDIT:</p>
  
  <p>Ok I solved this by always having an null object at the first place in mys child list, then when getchildrencount returns 1, I know it's actually empty and so I call the empty case of the switch.
  In the populated case of the switch i always hide the first element, this might not be the cleanest way to do this, but this works.</p>