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
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment