Hey all, I'm trying to setup a seek bar for a vide...
# compose
w
Hey all, I'm trying to setup a seek bar for a video player with Slider, but since I'm recomposing it every second to update the progress bar I'm not able to seek it manually (with my finger) because it keeps going back to the "current" progress. Do you have any tip on how to handle this?
w
thank you!
s
Basically, store the scrubbing progress to a separate variable and use that if not null. When the scrub ends, set it back to null
s
Big brain solution 🧠