Setting ID for Spinner items

后端 未结 5 2076
温柔的废话
温柔的废话 2020-12-25 12:50

I have an array of Strings I\'m populating a Spinner object with. However, I\'d like to attach an ID to each element of the Spinner, so when the user selects an item, I hav

5条回答
  •  情深已故
    2020-12-25 13:07

    I think The best solution is to add one more spinner and fill it with the ids but make the visibility of it to gone

提交回复
热议问题