Skip to content
New issue

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

有bug,11月份是30天,选择12月1号选不上,选的是 12月31号,就这天有问题,被我客户测试出来了,晕死 #13

Open
longkiGit opened this issue Nov 30, 2020 · 0 comments

Comments

@longkiGit
Copy link

DatePicker 类,184行
private void setChangeDaySelect(int year, int moth) {
dayArr = datePicker.genDay(year, moth);
WheelGeneralAdapter adapter= (WheelGeneralAdapter) dayView.getViewAdapter();
adapter.setData(convertData(dayView, dayArr));
//int indxt = datePicker.findIndextByValue(selectDay, dayArr);
dayView.setCurrentItem(0);
/if (indxt == -1) {
dayView.setCurrentItem(0);
} else {
dayView.setCurrentItem(indxt);
}
/
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant