Thread
#compose
    FunkyMuse

    FunkyMuse

    1 year ago
    Hey guys, how did you fix the problem with compose navigation when you click restart activity and the screen is blank?
    i

    Ian Lake

    1 year ago
    The correct answer, as always, to file a bug if you see something unexpected and can reproduce it in a sample project
    FunkyMuse

    FunkyMuse

    1 year ago
    Is there an issue regarding this? (I wasn't able to find one, but don't like to create dups) The main thing was that the navigation-compose doesn't restore the navigation after process death, if there's no issue I'll provide a project to recreate this
    i

    Ian Lake

    1 year ago
    Nope, it works in all of our sample projects, so file a bug.
    FunkyMuse

    FunkyMuse

    1 year ago
    Oh, it seems that the issue is with Apply changes and restart activity, recreated it with the Owl sample, is that worked on?
    And for some reason apply changes (only) restarts the navigation to it's start destination
    i

    Ian Lake

    1 year ago
    AFAIK, restarting in Android Studio doesn't do anything like a proper process death and recreation. You'd want to check with something like 'Don't keep activities' to actually simulate what the system actually does in restoring saved instance state