dexMilano Active Member Licensed User Longtime User Dec 6, 2013 #1 I'm starting to use spinners. Is it possible to add also a "value" in the items of a spinner? In the listview you have Add..(item) and Add...2(item, value). In spinner instead I've found only the Add(item). Am I missing something? Thanks dex
I'm starting to use spinners. Is it possible to add also a "value" in the items of a spinner? In the listview you have Add..(item) and Add...2(item, value). In spinner instead I've found only the Add(item). Am I missing something? Thanks dex
klaus Expert Licensed User Longtime User Dec 6, 2013 #2 In a Spinner you can add only one value. Upvote 0
dexMilano Active Member Licensed User Longtime User Dec 6, 2013 #3 :-( So you can add the item but not a related value. Which could be the solution to manage a value related to the choosen item in a spinner? managing manual a parallel array? I'm asking becasue for sure someone already did something. Thanks dex Upvote 0
:-( So you can add the item but not a related value. Which could be the solution to manage a value related to the choosen item in a spinner? managing manual a parallel array? I'm asking becasue for sure someone already did something. Thanks dex
dexMilano Active Member Licensed User Longtime User Dec 6, 2013 #5 Thanks Klaus. Maybe this could be an improve for future release. dex Upvote 0
klaus Expert Licensed User Longtime User Dec 6, 2013 #6 I don't think so because that's how the Android Spinners work. Upvote 0
ivan.tellez Active Member Licensed User Longtime User Sep 23, 2014 #8 The answer is here: http://www.b4x.com/android/forum/threads/spinner-text-and-value.10546/ Upvote 0