Greetings, I’m a little confused migrating our TV ...
# compose-android
z
Greetings, I’m a little confused migrating our TV app to Compose. Is
flingBehaviour
supposed to work in a focused-driven navigation ? It seems it doesn’t and I assume it is only working with gestures, right ? Is there a way to change the default spring animation when scrolling through a
LazyColumn
using interaction sources / D_PAD ?
t
Hi, you can change the default spring animation in BringIntoViewSpec. The
scrollAnimationSpec
property is deprecated and currently private in compose 1.8, but will be reintroduced in 1.9 (https://issuetracker.google.com/issues/403301605). These posts have some details on how to use it: • https://medium.com/@karol.ksionek/bringintoviewspec-introduction-aad20873fb38https://medium.com/@karol.ksionek/bringintoviewspec-were-getting-serious-299a31da28c6
❤️ 1