orangy
LazyListState
how do I write a function to “bring item into view”? So that it would do minimal required scrolling to make an item entirely visible. I can’t find all the needed data, or just slow tonight 🙂Chris Fillmore
10/01/2022, 11:03 PMmattinger
10/02/2022, 1:59 PMChris Fillmore
10/02/2022, 2:03 PMorangy
animateScrollToItem
scrolls the list so that requested index is first one. E.g. if I want to bring into view an item just next to the last visible index, it would scroll too muchChris Fillmore
10/02/2022, 2:17 PMAlbert Chang
10/02/2022, 2:34 PManimateScrollToItem
and make some changes.John Nichol
10/02/2022, 3:35 PMandrdoix.compose.wear.material.ScalingLazyColumn
for inspiration as we scroll items to the center of the screen rather than the toporangy
Zach Klippenstein (he/him) [MOD]
10/04/2022, 10:29 AMorangy