material-components / material-components/material-components-android
[MaterialDatePicker] Selection of Year, Month or Week only
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
In our app, we have a statistics feature. The user can choose whether he wants to show statistics for either **a year, a month, or a week**. The user can then select which year, month, or week he wants to have displayed.
**Describe the solution you'd like**
The _MaterialDatePicker_ should have a feature, so the user can select either a year, a month, or a week and not just a custom time range that can't be restricted.
Right now we have a custom solution in place which is tedious to maintain. It is error-prone and not handy to use
Thanks,
Best Thomas
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MaterialDatePicker API and its current custom-range behavior described in the issue; no source files or tests are identified. Define the supported year, month, and week selection modes and their expected restrictions before determining the implementation and test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100