[android-developers] Re: How to create a simple list of names, with personal image for each row

2009-05-29 Thread Morelli Giuseppe
Thank you Vincent, I've read the link you sent, and it was opening my mind. Now I've solved the problem inheriting from BaseAdapter. There are also some methods to ovverride, and the most important is getView for callback. Then I created a simple class that inherit from LynearLayout, to define

[android-developers] How to create a simple list of names, with personal image for each row

2009-05-21 Thread Morelli Giuseppe
Hi guys, I'm trying to create a simple list for my app extending the ListActivity Class. All names the names I want to display are stored in an ArrayList, and I use ArrayAdapter to link each element of the array with a row in the list view. This is the code to instatiate the ArrayAdapter: