Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Component used: Navigation
Version used: 2.8.0-alpha08
Devices/Android versions reproduced on: Pixel 3a API 34, Pixel 2 API 30
SavedStateHandle
's.toRoute()
extension fails when deserializing a list of one of the supported types, eg. String. The exception thrown is:java.lang.ClassCastException: java.lang.String[] cannot be cast to java.util.List
.It appears this is caused by the bundle storing the list as an array, and then trying to deserialize it directly as such. This issue does not occur on
NavBackStackEntry
's.toRoute()
extension, so that can be used as a workaround in the meantime.