Android-PickerView icon indicating copy to clipboard operation
Android-PickerView copied to clipboard

设置时间范围有错

Open jsoncheng opened this issue 3 years ago • 2 comments

当设置了日期范围时,滚轮初始设置日期会定位不对

WheelTime.java => 352行

wv_day.setAdapter(new NumericWheelAdapter(startDay, leapYear ? 29 : 28));

没有判断是否为设置范围的那个年月日就加入了startDay,导致打开日期栏就错了

jsoncheng avatar Feb 07 '22 06:02 jsoncheng

哈哈 我这儿也出问题了 看了代码才知道 startDay 改成1应该就可以了 还是自己再打个包吧

luckyAF avatar Feb 08 '22 02:02 luckyAF

1

billhello avatar Feb 21 '22 07:02 billhello