material-components / material-components/material-components-android
[Slider] Add support for secondary track
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.**
I want to be able to show the cache buffer in a slider that allows to control a player. The value is informational and should not limit the ability to slide to values larger than the buffer.
**Describe the solution you'd like**
Behave like SeekBar and propose a secondary track to represent that value to users.
**Describe alternatives you've considered**
As all is private there's no way to implement that by extending the slider, alternative are seekbar with custom labels.
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 by locating the Slider and SeekBar implementations and compare how their tracks and values are represented. Add support for an informational secondary track that shows the buffer value without preventing the slider from moving beyond it, then verify the behavior against the existing component tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100