Question

Is it possible to add two adapters in single listview? actually my requirement is set two different adapters to single listview, Adapter1 having ImageView,TextView,Button and Adapter2 having ImageView,TextView,Checkbox, currently i am achieving this task by using two listview in single page, but i am not satisfy with this solution, i searched on google for lots of time, but i didn't get any best solution, i tried merge adapter by cwac-merge-master but things still not achievable, please help me if anyone done merging of two adapters. Thanks in advance

Was it helpful?

Solution

Please Check this solution :http://android.amberfog.com/?p=296 it uses the function getViewTypeCount() for multiply views display

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top