[android-developers] Imageadapter problems

2010-09-25 Thread CMWiii
Hi, Having a problem with an image adapter. What I am trying to do is get a list of all the installed apps on my phone, display their icons and name, all in a grid with 4 columns. On first look all seems well but I see duplicates in apparently random locations and when I scroll back to

Re: [android-developers] Imageadapter problems

2010-09-25 Thread Kostya Vasilyev
You need to make some changes to getView. Move the code to set values within the views after the if convertView statement. What's happening is, the views get recycled and reused for a different item, but you don't set any values in that code path. -- Kostya Vasilyev --