Selecting the currently selected item in a spinner

笑着哭i 提交于 2019-12-10 21:36:19

问题


I have a spinner widget that only has one item by default, "Create new..."

My problem is if there is only one item in the spinner list, it's already selected, so clicking on it again doesn't trigger anything.

Is there any way to detect when an item is re-selected?

Thanks.

来源:https://stackoverflow.com/questions/5201197/selecting-the-currently-selected-item-in-a-spinner

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!