Android Question can I get the selected item index on B4XListTemplate?

omarruben

Active Member
Licensed User
Longtime User
hi, is it possible to get the selected Item index (int) from a list inside a Dialog B4XListTemplate?
this code return the string, but I would like to get the index or position of the item on the list
B4X:
options.Initialize
options.Options = Array("Cat", "Dog", "Fish", "Crocodile")

log(options.seleteditem) ---> "Fish"
 
Top