in my app i am using a list view. The data which i want to list out are from a database of my app and an xml server database.
For example i am getting some two set of data from server and store it in a array as follows
firstname = {arun, Arun, Rajesh}
lastname = {kumar, sundar, kannan}
Now again i am getting some data from my app database and store it in array as follows
first = {arul}
last = {raj}
Now i have combined the array list together as follows
firstname.addAll(first);
lastname.addAll(last);
Now i have the output as
{arun, Arun, Rajesh, arul}
{kumar, sundar, kannan, raj}
Now i want to list out these items as in the following image

how to do this, please help me......