Creating a ListView layout from an ArrayList
What I want to do in one of my tabs in my application is have a ListView of contacts. Though, in that example, the ListView is made from an array of Strings. Is there a way that I can create one of those using the values from an ArrayList?
Yes you can.
This tutorial explains everything, including how to do the xml files and java files.
I actually did some more Google'ing of this, and I found this:
String str  = (String ) neoFriends.toArray (new String [neoFriends.size ()]);
Where neoFriends is the ArrayList<String>.
Yes. Create an ArrayAdapter and pass in the ArrayList in the [constructor].