Hi all, I'm trying to implement video trimming sim...
# compose
c
Hi all, I'm trying to implement video trimming similar to this image but wondering about the good way to do the UI part in Compose: I made a prototype with 2
Slider
components but they're not very customizable and I can't put one over the other over the "timeline" because only the top-most one is interacting then. I'm thinking I need to implement a custom
DoubleSlider
but it seems complicated, any thoughts ? Thanks 🙂
1
m
I think you need to implement a custom double slider. It's not so difficult, the draggable modifier is very easy to use
👆 1
c
oh ok thanks for your input i guess i'll do that !
👍 1
a
You can use RangeSlider from Material components, using AndroidView
c
i'd rather not use
AndroidView
if i can but i'll keep it in mind as a backup, thanks : )