indicator is an imageview.Then , I tried to set the visibility of
this image depending on the number of children. But when I debug the
 "if( getChildrenCount( groupPosition )==0) {
  indicator.setVisibility( View.INVISIBLE );. " the app  crashes. The
"0" is the problem, beacause when I turn it to another number it works
perfectly.
Thanks for your answer.

-- 
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

Reply via email to