Expandable List: Android?

I think this must help you: Programmatically collapse a group @ ExpandableListView.

Thanx a lot Pixie :) – Sam May 18 at 7:34.

After a R & D over expandable List I found that expandable List-view is a two level tree view provided by Android. This view contains two types of categories. First type is Group-Elements and second one is Child-Elements, also called parent and child elements.

The main aim of this example is to customize the expandable list-view as the picture in the question shows. I have covered some important topics about expandable list-view that I faced during my experiences. Below code is main.

Xml contains the expandable list-view. Xml is as follows that contains the layout for Expandable list group view structure. Xml this is contains the layout for Expandable list view group structure.

First read the reference of the expandable listview from xml to activity class. For customising the Exp Listview main thing is adapter. Android provides BaseExpandableListAdapter for customising the view.

Bellow is the code for design of Adapter. This is adapter for expandable list-view for constructing the group and child elements. This the code for changing the default indicator image.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions