material-components / material-components/material-components-android
[Feature Request] Add Neutral Button to MaterialDatePicker
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Use case: There are times when one wants to clear a selected date (i.e. I have a task with a due date, I want to use the MaterialDatePicker to display the current date, pick a new date OR clear the selected date.
The first two are currently supported, the 3rd requires either the ability to extend the class and override the onCreateView (not possible because the class is final) or adding support for a Neutral button.
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
The issue does not name a file or test. Start by locating MaterialDatePicker and reading how its current date selection and action buttons are implemented; done means users can clear the selected date through a neutral action while preserving the existing date display and replacement flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100