Hi,
Sort of following up attached question if one of the compose team has a sec?
What would be the correct way to scroll down a lazy list using the dPad?
Is there an issue I should watch where this would end up as part of the focus system, similar to how non lazy lists do it. (haven’t been able to find exactly what I was looking for)?
Or should I capture dpad events and use lazy list animate to item function?
Thanks a tonne!
https://kotlinlang.slack.com/archives/CJLTWPH7S/p1632370300307400
l
Luis
09/28/2021, 11:27 PM
Not sure if it helps or if you have tried accessing the lazyListState directly and calling state.animatedScrollToItem(indexOfItem). And trigger that when the user presses the dpad