k

    Kaustubh Patange

    1 year ago
    SaveableStateHolder does not restore 
    rememberSaveable
     values after process death when it is wrapped with a 
    CrossFade
     animation - https://issuetracker.google.com/issues/191059138 Can anyone verify this?
    t

    tad

    1 year ago
    Is this just with LazyColumn or does it happen for other state?
    k

    Kaustubh Patange

    1 year ago
    Not sure but
    LazyColumn
    internally uses
    rememberSaveable
    for
    rememberLazyListState
    . So it must happen for others as well.
    t

    tad

    1 year ago
    It also has issues with restoring scroll state depending on how the items are populated, so I would try to make a minimal example using SaveableStateHolder directly
    k

    Kaustubh Patange

    1 year ago
    The example I attached in the sample project is statically populating
    LazyColumn
    through a defined list of items. There are only ~20 items & are single line text.
    Andrey Kulikov

    Andrey Kulikov

    1 year ago
    replied in the bug
    k

    Kaustubh Patange

    1 year ago
    replied