ursus
01/13/2023, 6:40 PMLazyColumn
(synchronized scrolling technique)
So, I need what used to be the current scrollY
in RecyclerView.
I know it’s not available because reasons, so is it the only way to manually juggle listState.firstVisibleItemScrollOffset
and listState.firstVisibleItemIndex
and come up with some calculation which works most of the time?
Is there nothing better?
Nothing which would already accumulate the total scroll offset for me?
I mean we have out of the box sticky headers
so the mechanics for it need to be there for sure