我用 setOnItemSelectedListener
上一个微调。如果我改变选择的侦听器被触发,但不是如果我选择已选中相同的项目。我需要nofified即使用户选择已选择了相同的项目。我因子评分关于使用 setOnItemClickListener
,但它不是由微调
。
I use setOnItemSelectedListener
on a spinner.
The listener is triggered if I change the selection but not if I select the same item that is already selected.
I need to be nofified even if the user select the same item that is already selected.
I tought about using setOnItemClickListener
but it is not supported by the Spinner
.
任何提示?
TIA
如果你还在寻找一个解决这个问题,吉斯,它可能是值得拥有看一看a相关的问题,我问前一阵子,其中有几个答案,关于如何解决此问题的好点子。
If you're still looking for a solution to this question, Regis, it may be worth having a look at a related question I asked a while ago, which has several answers with good ideas on how to work around this issue.