listview
want to merge two different arraylist
into one adapter.
i try using the position value of the getView()
method but it not display correct data to listview
first it display data from the one arrayList
after it complete second arraylist
should be start to display.
ArrayList<A> list1 = new ArrayList<A>;
ArrayList<B> list2 = new ArrayList<B>;
i want to add this two list into one adapter.first i need to add list1 after list1 is complete data from list2 is display.i tried using position variable of getView()
method but it not display correct data to me.
how to achieve this ?