Hi, It looks like you are doing the wrong thing in your adapter. Are you locally caching views yourself?
On Mon, Dec 14, 2009 at 12:49 AM, Eus <[email protected]> wrote: > HiHo! > > This subject originates here: > http://groups.google.com/group/android-beginners/browse_thread/thread/772ff8b97facfab2/9a470dd0b71dbef3 > > To sum up: > > When I click on an item in the ListView, the background color that gets > changed is not that of the clicked item but instead of the other item in > the opposite side relative to the middle item: > > 1 <-- I click here > 2 > 3 <-- Acts as a mirror > 4 > 5 <-- This is the one that gets changed > > 1 > 2 <-- This is the one that gets changed > 3 <-- Acts as a mirror > 4 <-- I click here > 5 > > This problem persists even when I use CheckedTextView like what is > suggested in the post. > > I use the latest stable SDK. > > This problem occurs when the target platform is Android 1.6, 2.0 or > 2.0.1. > > The problem does not occur when the target platform is Android 1.1 or > 1.5. > > However, the problem will also occur when the program is compiled for > 1.5 and run in 2.0.1. > > The simple problematic code can be found here: > http://www.mediafire.com/?sharekey=6dd15ff25c627a277432d3c9683f450acd7138973b42b69438538f5672f1b9df > > There I also put the screenshots showing the problem: > demo01.png: I click an item. > demo02.png: the clicked item doesn't get changed but the reflective item > does. > > Is this a bug in newer Android platforms? > > If it is intended, what is the reason and could you please show me how I > should fix my code? > > Thank you. > > -- > Best regards, > Eus (FSF member #4445) > > In this digital era, where computing technology is pervasive, your > freedom depends on the software controlling those computing devices. > > Join free software movement today! It is free as in freedom, not as in > free beer! > > Join: http://www.fsf.org/jf?referrer=4445 > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

