Skip to content Skip to sidebar Skip to footer

How To Show All List Items In Child Listview-using Cwac-merge-1.0.4 Jar

I am using two ListView in same screen,Because of using two Listviews likely Parent ListView and Child ListView,that Child ListView Adapter class doesn't show all List Values in C

Solution 1:

What is stopping you to make 2 different adapters and adding them to MergeAdapter? You can add multiple adapters to MergeAdapter and multiple views. In that case there is no need to use 2 Listviews.

mergeAdapter.addAdapter(adapterHeading);
mergeAdapter.addView(someView);
mergeAdapter.addAdapter(adapterFooter);
listView.setAdapter(mergeAdapter);

Post a Comment for "How To Show All List Items In Child Listview-using Cwac-merge-1.0.4 Jar"