I\'m reading this tutorial http://android.amberfog.com/?p=296 . I\'d like to create a Listview weith different types of rows. I understand how to create the adapter, but wha
It wont be a problem. But I think you got the tutorial wrong.
Your need to define a layout for a row.
If you want your row to be able to contain a Text or an Image, you need to add both Views to the Layout.
Now in you adapter, where you fill your List you decide which item to set.
So lets say you have 2 Strings and an image.
So you set the text for the first two rows and add an image to the third. You dont have to predefine every row for itself, as i guess thats what you are trying to do.