Thread
#compose
    Jeremy

    Jeremy

    1 year ago
    Is there any to trigger a callback when the end of a lazycolumn scroll has been reached? aka infinite scroll?
    Adam Powell

    Adam Powell

    1 year ago
    I don't think
    LazyListState
    exposes quite enough of what you need just yet, you need to know the last visible position and its offset from the bottom the way it exposes the same for the first/top
    once that's there though, you can observe the
    LazyListState
    and decide when to load more stuff
    snapshotFlow {}
    is helpful for bridging from compose state into other async event-based code for doing things like this
    Andrey Kulikov

    Andrey Kulikov

    1 year ago