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

日期错误 #173

Open
CatEatFishs opened this issue Nov 26, 2018 · 1 comment
Open

日期错误 #173

CatEatFishs opened this issue Nov 26, 2018 · 1 comment

Comments

@CatEatFishs
Copy link

初始化日期正常,左右切换月份 显示错误,可能会跳过1-2个月 然后就正常了

@overtruer
Copy link

我也遇到相同的问题,demo都是正常的但是自己项目就会月份显示错误,我发现一个规律只要上滑下滑切换一次周月然后滑动月份就是正常的,里面可能做了月份重新计算,然后我在addOnPageChangeListener的onPageSelected方法里面手动加了一句
if (calendarAdapter.getCalendarType() == CalendarAttr.CalendarType.MONTH) {
calendarAdapter.switchToWeek(mCalendarView.getRowIndex());
calendarAdapter.switchToMonth();
}
这样勉强可用,不仿试一试,人菜没法改源码只能先凑合用

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

2 participants