gzu-liyujiang / gzu-liyujiang/AndroidPicker

设置初始时间问题

Open
#128 1 comment 0 reactions 0 assignees View on GitHub
expired
Dominant language
Java
Stars
6.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

picker.setRangeStart(2016, 8, 29); DatePicker中这个设置起始时间的貌似不太管用啊,不管设置多少 最早时间都是2010年的,我获取当前的year,month,day想设置成下面这样的
picker.setRangeEnd(year + 2, month, day);
picker.setRangeStart(year, month, day);
picker.setSelectedItem(year, month, day);

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the DatePicker implementation and the setRangeStart, setRangeEnd, and setSelectedItem entry points. Reproduce the reported setup using the current date and verify why the earliest selectable date remains 2010; done means the configured start date limits the picker as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.