When is compose going to support this type of slid...
# compose
k
When is compose going to support this type of slider?
j
As soon as you make one
👏 6
😛 3
k
@Joost Klitsie 🤣🤣
@Adam Powell @jim this was requested in Feb to have a slider with thumbs on both ends. There was a feature request on issue tracker and it was assigned but does not seem anyone did work on it. My question is that since this slider is part of material design components, would you guys include it in future releases of compose or not? https://issuetracker.google.com/issues/150221060.
Besides, are there any future plans to include a ViewPager like component in compose?
j
Yeah, I think we intend to support these types of widgets eventually, but we can't do everything ourselves, and we certainly can't do everything all at once. So we're trying to prioritize the most common widgets and balance time spent writing widgets with time spent creating some of the next generation technologies that will open the doors to whole new classes of opportunities. If you're looking for a great first task to begin contributing to Compose, this might be a good one. Looking at the code for the existing slider, it shouldn't be hard for someone in the community to write such a widget. This would be a great way to get started as an open source contributor to Compose, and would help provide value to everyone in the community. Then we can focus our efforts on getting the rest of Compose ready for a public stable release, and together we can accelerate the timeline for everyone!
k
Thanks @jim well understood.
a
@Clara Bayarri would be a good person to check with on where this stands in the priority list
c
this is not high on our priority list at the moment. Material has a few examples of double ended sliders, but no real specs for it and we'd need to figure out the details for it before implementing. Given the amount of other missing components right now, I don't think we'll get to this soon. I'd suggest you implement your own as it should be quite straightforward if you look at Slider :)