Hi there:
First, is it necessary to create a new class that extends BaseAdapter if i want my ListView to contain icons? I've read that SimpleAdapter is not able to handle them.
And then, i've been trying to extend this BaseAdapter with some sample code i found at
http://mylifewithandroid.blogspot.co...-adapters.html. My problem is that, as opposed to that web's code, i need to update my ListView dinamically. The approach i was taking was to add or remove objects from my list object, and then reset the listAdapter with setListAdapter(my_list); That code is located inside my buttonListener. And i always get this error:
"List views can't have UNSPECIFIED size", which is the same error you get if you dont set the list adapter inside the "onCreate" method.
Hope i made myself clear, and thanks in advance for any possible help.