ListView / ListAdapter find back the object out of the list
I'm wondering a simple way to find back the object corresponding to the clicked item..

They're tons of examples on the web on how to figure out the ListView setup with the setListAdpater, but much less on how to well handle its listener.

Is "by position" the only way ?? I'm wondering a possibility to associate the objects itselves to the adapter, to not have to use their position in list (or even the displayed String!) to find back the Object referred by the clicked label..

Hope I make sens

Thanks in advance,
jo
ListView / ListAdapter find back the object out of the list
===

I'm wondering a simple way to find back the object corresponding to the clicked item..

They're tons of examples on the web on how to figure out the ListView setup with the setListAdpater, but much less on how to well handle its listener.

Is "by position" the only way ?? I'm wondering a possibility to associate the objects itselves to the adapter, to not have to use their position in list (or even the displayed String!) to find back the Object referred by the clicked label..

Hope I make sens

Thanks in advance,
jo