tag:blogger.com,1999:blog-8214401912480503366.post5727726465348046413..comments2023-08-10T13:35:15.093+02:00Comments on My life with Android :-): Expandable list with CWACGabor Pallerhttp://www.blogger.com/profile/14307475522972458932noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8214401912480503366.post-14566346231366930652011-10-02T15:30:21.308+02:002011-10-02T15:30:21.308+02:00Dear Gabor, maybe you gave a wrong link? I found y...Dear Gabor, maybe you gave a wrong link? I found your article in <br />http://mylifewithandroid.blogspot.com/2011/06/hiding-group-indicator-for-empty-groups.html<br />Thank you!kennahttps://www.blogger.com/profile/01789008486499713039noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-43402499903047356002010-07-07T09:32:27.159+02:002010-07-07T09:32:27.159+02:00Big panel, have you checked the example program at...Big panel, have you checked the example program at <a href="http://mylifewithandroid.blogspot.com/2010/03/progressively-loading-listviews.html" rel="nofollow">this blog entry?</a>Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-40357542909082181052010-07-07T01:28:03.209+02:002010-07-07T01:28:03.209+02:00How to do an expandable list where the indicator a...How to do an expandable list where the indicator arrow to expand the list is hidden if there's no child<br /><br />In my project I also need to expand when ones click on the arrow (if exits) but call an another activty when ones click on the title of the Item<br /><br />0<br /><br /><br />I've created my own expander_group.xml<br />with<br /><br />item<br />android:state_expanded="true"<br />android:state_empty="true"<br />android:drawable="@drawable/empty"<br /><br /><br />and set it up in my ExpandableListActivity<br /><br />Drawable icon = this.getResources().getDrawable(R.drawable.expande r_group);<br />getExpandableListView().setGroupIndicator(icon);<br /><br />Icon are loaded but no empty icon in front of empty group till I tried to expand it. When I click on it it actually disapear as it should be<br /><br /><br />Someone told me about BaseAdapter and writing all the views by hand<br /><br />What is the best way to acheive that : no icon for empty groups and<br />title of the group clickable<br /><br /><br />You code is a very different approch. Can't you show me how can i acheive that in your way <br /><br />thanx a lotbig panelhttps://www.blogger.com/profile/14848740428708623268noreply@blogger.com