In the tutorial video it is shown how to create a custom adapter to use a custom listview row and populate the listview with images and different strings for each item.
How can this be done to populate the listview with BOTH unique images and strings? I had seen how to pass the image resources to the custom adapter in an int array but how do I pass both a String and int to the adapter?
Also, the getItem(position) method is used to grab the string for the list item, but how do you grab the int for the image resource?
Can someone post example code on how to do this?