Thread
#compose
    Vitaliy Zarubin

    Vitaliy Zarubin

    1 year ago
    Please tell me where to dig the position of the list is not saved Paging 3.0 + paging-compose.PageSource ViewModel LazyColumn
    Andrey Kulikov

    Andrey Kulikov

    1 year ago
    most probably the issue is with the fact that the scroll is restored while the paging didn’t yet load the items as the items are loaded asynchronously. while we don’t have something similar to this in compose you can workaround it with not emitting LazyColumn at all while there are no items in LazyPagingItems. something like
    if (model.itemCount == 0) { LoadingItem() } else { LazyColumn(…) }
    Vitaliy Zarubin

    Vitaliy Zarubin

    1 year ago
    @Andrey Kulikov It works. Thank you.
    Vipulyaara

    Vipulyaara

    1 year ago