Android NumberPicker with strings

前端 未结 1 1504
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 04:54

I have customised the NumberPicker to show text. The output is this:

when I press OK I want to add the e.x mouse to my list \"Article\". What I\'m getting instead is th

相关标签:
1条回答
  • 2021-01-25 05:30

    Change the line

    Article.add(String.valueOf(artikkler.getValue()));
    

    By

    Article.add(responseList.get(artikkler.getValue());
    
    0 讨论(0)
提交回复
热议问题