During my development I wanted to fill a ListView in my Android app (Android 1.5 compatible) with info I retreive from he internet (some xml file which provides me the info I want). Now retreiving this info is no problem but displaying it in a ListView is. My ListView activity code can be found here: http://pastebin.com/f53a0df It doesn’t entirly work! I get enough rows generated in my listview, but only the first row contains my text from the last element I add to it. All other rows for all other elements are empty (Example of what I mean: http://img35.imageshack.us/img35/2862/device003.png).
When debugging I found that eveytime in the getView(..) method the convertView is null (is this normal?) and that the first time my TextView objects are also null. Also when debugging (with a bigger list than in the example image) I found that when scrolling up and down and sometimes clicking in the ListView some of the rows get filled but with the wrong list-element according to the order. So does anyone see what I am doing wrong? BTW: my layoutfiles are provided here: watchlist.xml => http://pastebin.com/f738bc9d6 episode_row.xml => http://pastebin.com/f27442ce7 -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en