Android Question InputMapAsync - Map (with user data)

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Is there a way to have a map not only take a key and value but some user data like RecordID?

I want to use InputMapAsync to display as pick list but all that gets returned is the map with the entries checked.
The strings I am putting into the map to display could actually be the same (user typed data) and not sure how to tell them apart.

Is there a map class that allows extra data that will work with InputMapAsync

BobVal
 

toby

Well-Known Member
Licensed User
Longtime User
1. Use a custom template which contains a spinner showing the user-entered data.
2. Use a list, lstData, to store map data: lstData.add(m)
3. After user makes a selection, to retrieve associated map data:
dim m as map= lstData.get(spinner.selectedIndex )
 
Upvote 0
Top