hey guys, is it possible to obtain LazyColumn scroll value just as we would have on Column with scroll using
rememberScrollState
?
f
Fudge
05/13/2022, 8:13 AM
There is rememberLazyColumnState or something of the sort
Fudge
05/13/2022, 8:13 AM
And it has firstVisibleItemIndex and scrollOffset
f
FunkyMuse
05/13/2022, 8:37 AM
Copy code
/**
* The holder class for the current scroll position.
*/
private val scrollPosition =
LazyListScrollPosition(firstVisibleItemIndex, firstVisibleItemScrollOffset)