title: ExpandableListView - Is conditional expansion possible?
body: <p>I have an ExpandableListView bound to a SQLite database. To simplify things, lets assume the database contains two columns: <code>title</code> and <code>body</code>. In the ExpandableListView, there is a <code>group</code> for each <code>title</code>, and a <code>child</code>for each corresponding <code>body</code>.</p>
  
  <p>Now to make things more interesting, some of the rows in the SQLite database do not have a <code>body</code> (that is... they only have a <code>title</code>). As you can see, if there is no body, then there is no reason to expand the group... because the child will be empty (i.e. String <code>body == ""</code>).</p>
  
  <p>I'm searching for a way to catch a situation like this, and skip the group's expansion. I don't want a blank child to be expanded. To put it in psuedo code, I want something like this:</p>
  
  <pre><code>if (body.getText() == "") {
    //DO NOT EXPAND
    //DO OTHER STUFF
  }
  </code></pre>
  
  <p>Any suggestions?</p>