I am New Android development. In My application I have two ArrayLists.
One ArrayList contains HashTbale.
Another one contains HashTable
Now How can i set adpter and how to show in Listview image from Second ArrayList and Text From from ArrayList in ListView Row.
I am not able to get exact solution .
Please any one help in this issue.
Thanks in advance
If you want to display image and text in each row and if you are using 2 arraylist for the same then here is the solutions. Try this
//Code wont work if you directly copy paste. Use the logic and change accordingly
Instead of using 2 arraylist, my suggestion is you use HashMap. Imagepath as key and text as value.