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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.