Android spinner showing object reference instead of string

后端 未结 4 1428
耶瑟儿~
耶瑟儿~ 2021-01-04 01:52

Ok so I am having a issue with my spinner. Its being populated with data pulled from a webservice. The issue im having is that when the spinner is not clicked instead of sho

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 02:26

    My quick thought: getView() method is used to represent the row. Can you implement similar coding like getDropDownView method into getView() method also.

    Copy past the content from getDropDownView method into getView() method

    I didnt tried this, but I had done similar one in ListView where I did similar coding in getView() method.

    I will also try to replicate this locally and post if I find anything.

提交回复
热议问题