It Is Possible To Put Different Layouts For Child Items In ExpandableListView?
I'm a new developer with android and I'm trying to put different layouts for child items in Expandable List View but I can't found the complete tutorial to do this so if is possibl
Solution 1:
http://www.techiecommunity.net/Android/Android-ExpandableListView-Layout-Example this tutorial can solve the problem mentioned in my question but i still have a problem because my class extendable a ListFragment and for this example extends ExpandableListActivity, so there is a solution for that ??
Solution 2:
Just don't extend ExpandableListActivity
. I also extends a Fragment
and it works fine.
Then use the correct method :
((ExpandableListView) getView().findViewById( R.id.list).setAdapter( m_expandableListAdapter);
Post a Comment for "It Is Possible To Put Different Layouts For Child Items In ExpandableListView?"