I'm curious about how we can make a manually scrol...
# compose
l
I'm curious about how we can make a manually scrollable marquee for long text, so I've asked how to on stackoverflow : https://stackoverflow.com/questions/63838973/how-to-make-a-manually-scrollable-marquee-by-touch-or-mouse-touchpad-scroll-in If one knows how, or if Jetpack Compose team can respond it's not supported yet, feel free to answer it.
z
Could you just put two copies of your text in a
ScrollableRow
, side-by-side? Or use a
LazyRowFor
if you don’t want to keep both children around all the time.
1
l
That will not make it marquee by default? I'd like to have auto-marquee, that you can interrupt and control by touch.
z
I don’t think Compose has any marquee support yet. But it wouldn’t be hard to make one with the
ScrollableRow
, just animate the scroll position and use a gesture filter.
1