Adding dynamic ExpandableListView inside main.xml?

I found out where the problem went wrong. Apparently I got the LinearLayout and the ScrollView inside the main. Xml interchanged, and the method for getViewGroup class was wrong.It's all good now.

It's supposed to retrieve strings from the database and create an expandablelistview out of each one, and add all the created expandablelists to a linearlayout inside main.xml. What happens is that only the expandablelistview for the first string is shown. Sorry if I posted too much code, I tried removing as much unnecessary information as possible.

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