Im now thinking the way to do this is to take the position of the item selected from the spinner use this as an index in to an associated values array as already mentioned in my last reply, this will then give a value that can be stored. On the reverse route the value fetched from the database will be used for an indexOf search on the List of values, then that index can be used to index in to the displayable array.
This way if the new entries are added anywhere in the string array they can be assigned a new unique value at the associated index in the values array and it should all be future proof. I may write my own specialized array-adapter for this. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en