I want to offset something by scroll position of a...
# compose
u
I want to offset something by scroll position of a
LazyColumn
(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