Populate an expandableListView with arrayLists?

I'm not sure an ArrayList is the right data structure to use for an ExpandableListView -- but if you mean a ArrayList of Maps that would be more appropriate. You could do that with the SimpleExpandableListAdapter class it looks like. Then use ExpandableListView.setAdapter() to couple it with your view.

Yes, that sounds much better. I'll give it a try. – cj1098 Aug 12 at 21:08.

It's because of using recycling View for use in ExpandableListView. As you can see there is a field "View convertView" which contains View that will be recycled with SAME ID as View that already exists on a screen. So when you look for v.

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