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
一 前提 1.TestMiui9Activity中月视图,使用CalendarView2 2.在onBindCurrentMonthOrWeekView,onBindCurrentMonthOrWeekView和onBindCurrentMonthOrWeekView中都加上点击事件
view.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { System.out.println("-----------------"); } });
二 问题 无论在当前页还是滑动到其他页面,第一个日期点击没有相应,其他日期点击正常
The text was updated successfully, but these errors were encountered:
我去,搞了好多天没解决,刚来github上提issue就解决了。解决办法有两种 1.CalendarView2改为RecycleView,对应的GridCalendarAdapter也改掉 2.参考[GridView第一个Item点击事件无响应的解决方案] https://blog.csdn.net/weixin_39922361/article/details/117634095
Sorry, something went wrong.
No branches or pull requests
一 前提
1.TestMiui9Activity中月视图,使用CalendarView2
2.在onBindCurrentMonthOrWeekView,onBindCurrentMonthOrWeekView和onBindCurrentMonthOrWeekView中都加上点击事件
二 问题
无论在当前页还是滑动到其他页面,第一个日期点击没有相应,其他日期点击正常
The text was updated successfully, but these errors were encountered: