https://kotlinlang.org logo
#compose
Title
# compose
s

Sam

11/12/2020, 5:33 AM
Is there any way to utilize 
WindowInsetsAnimation
within a Jetpack Compose project? This allows fine grain control and coordination of the keyboard animation (as described in this article). Most examples I've seen utilize
setWindowInsetsAnimationCallback
(like in this sample code) but I'm not sure how this would work in Compose?
👀 1
s

Se7eN

11/12/2020, 7:32 AM
s

Sam

11/12/2020, 8:53 AM
@Se7eN that's what we're currently using, which gives basic insets, but not the new animation support. I have already filed an issue https://github.com/chrisbanes/accompanist/issues/140
🆗 1
r

Rafs

11/12/2020, 9:36 AM
What are insets?