Your group should contain atleast one child, else, it will try to render it's children, and since you don't have any, it throws ArrayIndexOutOfBounds exception
On Wed, Nov 3, 2010 at 6:56 PM, dashman <[email protected]> wrote: > i've got one of these sub-classes. > > when i populate it with 1 group entry with zero-children. > > it crashes when i click on it - expand. i understand there's > nothing to expand. > > but it crashes somewhere in SimpleExpandableListAdapter > code with an array index access exception. > > anyway around it. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

