Two questions:

1. When does OnItemSelectedListener get called?

My expectation was that when an element of a ListView was clicked/
touched that the OnItemSelectedListener would be called. My
OnItemSelectedListener is not called when a list element is clicked/
touched. (It is called if the list has focus and I move through the
list with the arrow keys in the emulator) Is that the way it works?

This ListView has an adapter that supplies TextViews for drawing the
list elements.

2. With a ListView set up this way who handles display of selected
list items? Does the ListView do it or should the adapter configure
the views it supplies to make them look “selected?”

Thank you!

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