angcyo

Results 84 comments of angcyo

我`fork`作者`3.7.1`的版本, 实现了`垂直列表日历`和`垂直滚动日历`. - `垂直列表日历` 基于`RecyclerView`实现 - `垂直滚动日历` 通过交换`ViewPager`的`TouchEvent`实现 使用方式如下: ## 加入仓库地址 ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` ## 加入依赖 ``` implementation 'com.github.angcyo:CalendarView:3.7.1.15'...

`3.7.1.21`已修复 ``` implementation 'com.github.angcyo:CalendarView:3.7.1.21' ```

## 船新功能加入, 基于原库`3.7.1` - `垂直列表`展示月视图 - `垂直滚动`切换月视图 - 月/周视图中的`日期切换动画` - `touchDown`按压反馈提示效果 [传送门](https://github.com/angcyo/CalendarView)

> 法把当天日期改成选中的 怎么复现这个BUG?

> @angcyo 我是将VerticalCalendarView设置在dialog中,需要点击一个button时候跳转今日并且是选中今日,使用scrollToCurrent(不管带哪个参数的都不醒)并不可以,最后我的解决办法是: mVerticalCalendarView.scrollToCalendar(mVerticalCalendarView.getCurYear(), mVerticalCalendarView.getCurMonth(), mVerticalCalendarView.getCurDay(), true); Calendar selectedCalendar = mVerticalCalendarView.getSelectedCalendar(); selectedCalendar.setYear(mVerticalCalendarView.getCurYear()); selectedCalendar.setMonth(mVerticalCalendarView.getCurMonth()); selectedCalendar.setDay(mVerticalCalendarView.getCurDay()); mVerticalCalendarView.updateSelectStatus(); `3.7.1.26`已修复

> @angcyo 设置calendar_match_parent全屏日历后,垂直滚动出现bug 什么bug?

`com.haibin.calendarview.CalendarView#setOnCalendarInterceptListener`

看看我`fork`的 https://github.com/angcyo/CalendarView

依次点击日期: `1,2,3,4,5` `7,8,9,10,11,12,13` `15,16,17,18,19,20`