Do you mean new overscroll effect? I don't think it supported, but during IO Q&A session it mentioned that it will be eventually supported out of the box
a
Adam Powell
05/28/2021, 3:05 PM
If you're running one of the android 12 beta builds on a device with the effect, you can use the android framework
EdgeEffect
API and draw it into a compose canvas using the usual android<->compose drawing interop stuff. Connect it to compose's nested scrolling facilities and you should have something that's pretty close to how we're going to add it anyway, and it'll be the glow on older platform versions
Adam Powell
05/28/2021, 3:06 PM
More of the default foundation compose scrolling APIs will do it by default Soon™️
👍 1
Adam Powell
05/28/2021, 3:07 PM
The above is just if you'd like to get out ahead of us in the meantime 🙂
n
nglauber
06/18/2021, 2:09 PM
@Adam Powell do you have some sample of this
EdgeEffect
+
LazyColumn
(or
Column
)
k
Kyant
06/21/2021, 10:11 AM
Maybe you could use Android native ScrollView and put composables into it