Hey, I'm currently playing a little with LazyRowFo...
# compose
g
Hey, I'm currently playing a little with LazyRowFor and I was wondering if there is any possibility to scroll the list programatically, not with the finger swipe. I actually can't find any clear answer for that so I decided to ask it here.
c
Currently there's no way to scroll a
Lazy*
a
but we are working on it right now
👍 1
g
Thanks for the info
h
@Andrey Kulikov is there anything similar to RecyclerView.OnScrollListener available now?
a
properties
firstVisibleItemIndex
and
firstVisibleItemScrollOffset
in
LazyListState
are backed by
State
, so they are observable and if you use them inside composable or measure or draw block it will be automatically reexecuted when the scroll changes
h
Got it, LazyListState is what I’m looking for. Thanks.