> Why is this not documented in the documentation of onListItemClick()
> giving a warning that v may not be as what the developer expects?

Because v is always what you expect. The "problem" is what happens to
v after the click.

> You mean something like the following?
[...]

Yes, except that when pos != selectedPos you must set the normal background.

-- 
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

Reply via email to