In Progress
Status Update
Comments
do...@google.com <do...@google.com> #2
I was able to reproduce this using the project you supplied. The root cause is the NavHostController
being recreated on configuration change (which it shouldn't). Interestingly, this does not happen every time you rotate the screen, only sometimes. My suspicion is that something in your custom type is not being deserialized correctly, but I'll leave it for the engineers to investigate further.
me...@gmail.com <me...@gmail.com> #3
The same behavior in version 2.8.0-rc01.
Description
Component used: Navigation
Version used: 2.8.0-beta07
Devices/Android versions reproduced on: Android Emulator Pixel 7 API 34
Description of the problem: when using a navigation node with a parameter of the data class type, e.g.
after navigate this route, when the screen is rotated, automatic navigation occurs to start destination.