I have a ListView and add several names (Andy, Billy, Charly, Dolly, Elly etc.)
I know that there are MouseClicked-events available for ListViews. But how can I get the index and the value when I - for example - click on the line with "Charly"?
No, you are right. They are different.
In B4J ListView1.SelectedIndexChanged(Index As Int), as udg already answered.
In B4A ListView1.ItemClick(Position As Int, Value As Object)
It is too bad that this forum could not auto-post a link to xCLV whenever a question is presented regarding the standard Listview.
Eventually, they are always directed that way.... and for a very good reason...