g

    Grzegorz Baczek

    1 year ago
    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.
    cb

    cb

    1 year ago
    Currently there's no way to scroll a
    Lazy*
    Andrey Kulikov

    Andrey Kulikov

    1 year ago
    but we are working on it right now
    g

    Grzegorz Baczek

    1 year ago
    Thanks for the info
    Hitanshu Dhawan

    Hitanshu Dhawan

    1 year ago
    @Andrey Kulikov is there anything similar to RecyclerView.OnScrollListener available now?
    Andrey Kulikov

    Andrey Kulikov

    1 year ago
    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
    Hitanshu Dhawan

    Hitanshu Dhawan

    1 year ago
    Got it, LazyListState is what I’m looking for. Thanks.