We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
经查看源码NiceSpinner发现: 1、在设置adapter的方法setAdapterInternal中,在1.4.5之前设置条件为adapter.getCount() > 0,现作者已改为adapter.getCount() > =0。 2、在方法onTouchEvent中,弹出条件仍为adapter.getCount() > 0,而NiceSpinnerAdapter的getCount会数据长度上减1,最终造成条件不成立,从而不弹窗
The text was updated successfully, but these errors were encountered:
理论上就是不弹窗的吧,弹窗列表会把选中项剔除,所以,只有一项的时候,并无带选项,所以应该无弹窗,就算有也是空的。
Sorry, something went wrong.
No branches or pull requests
经查看源码NiceSpinner发现:
1、在设置adapter的方法setAdapterInternal中,在1.4.5之前设置条件为adapter.getCount() > 0,现作者已改为adapter.getCount() > =0。
2、在方法onTouchEvent中,弹出条件仍为adapter.getCount() > 0,而NiceSpinnerAdapter的getCount会数据长度上减1,最终造成条件不成立,从而不弹窗
The text was updated successfully, but these errors were encountered: