Hey guys, how did you fix the problem with compose...
# compose
f
Hey guys, how did you fix the problem with compose navigation when you click restart activity and the screen is blank?
i
The correct answer, as always, to file a bug if you see something unexpected and can reproduce it in a sample project
f
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
Nope, it works in all of our sample projects, so file a bug.
👍 1
f
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
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