Wednesday, June 29, 2011

[android-developers] Re: Expandable List and GetChildCount

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
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
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment