I am trying to use a custom material 3 Slider for ...
# compose
o
I am trying to use a custom material 3 Slider for leanback devices but it does not yet support sliding/dragging/scrubbing by default when focused like it does on mobile due to the press and drag modifiers on the slider. I can work along with the dpad key events to support the same behavior and handle the slide/drag/scrub manually changing the current value and updating it. So my question is if there is a better way to solve this on leanback devices in a way i can just tap into the press and drag gesture directly with dpad keyevent or some another reliable inbuilt api for such use case?