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
manueldidonna
04/02/2021, 4:29 PM
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
Cyril Find
04/02/2021, 4:31 PM
oh ok thanks for your input i guess i'll do that !
👍 1
a
alorma
04/03/2021, 6:11 AM
You can use RangeSlider from Material components, using AndroidView
c
Cyril Find
04/04/2021, 7:08 PM
i'd rather not use
AndroidView
if i can but i'll keep it in mind as a backup, thanks : )