Alex Styl
08/18/2025, 7:58 AMbackStackEntry.arguments
it gives me SavedState
which has no getters
I know I can use the serialization way, but it doesn't fit my use case.Alex Styl
08/18/2025, 8:02 AMval orderId = entry.savedStateHandle.get<String>("orderId")!!
not
entry.arguments.get<String>("orderId")!!
Sunil Kumar
08/18/2025, 8:09 AMentry.arguments?.read { getString("orderId") } ?: ""
Alex Styl
08/18/2025, 9:26 AMIan Lake
08/18/2025, 1:50 PM.read
is the correct way to read keys from a SavedState