material-components / material-components/material-components-android

Provide material implementation of NumberPicker

Open
#1,746 6 comments 15 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request New component
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Originally reported on [Google issue tracker](https://issuetracker.google.com/issues/168869401), but was redirected here.

>Framework [NumberPicker](https://developer.android.com/reference/kotlin/android/widget/NumberPicker) is highly problematic: there's couple of serious issues with it (e.g. https://issuetracker.google.com/issues/36952035) and fixing them in framework will take years until workarounds can be dropped. There's high number of closed issues in the tracker, but most of them just because the original poster didn't follow up. It's also difficult to style. There's good summary in a post by Mark Allison here: https://blog.stylingandroid.com/numberpicker/.

Having an implementation of scrollable number picker in Material Components library would be a nice alternative to fighting poor framework implementation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Android NumberPicker documentation, the referenced Google issue, and the Material Components issue discussion. Use the linked Styling Android post to understand the reported limitations and determine the intended scope of a material implementation. Done means an agreed, customizable scrollable number picker implementation with its required behavior and styling documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.