eygraber
11/25/2025, 9:58 AMIan Lake
11/25/2025, 10:09 AMIan Lake
11/25/2025, 10:10 AMlifecycle-viewmodel-navigation3 artifact that is part of Lifecycle 2.10.0: https://developer.android.com/jetpack/androidx/releases/lifecycle#2.10.0Guillaume B
11/25/2025, 10:13 AMGuillaume B
11/25/2025, 10:26 AMIan Lake
11/25/2025, 10:55 AMGuillaume B
11/25/2025, 10:55 AMIan Lake
11/25/2025, 10:56 AMUnlike Nav2, Nav3 does not require keys to be saveable, but that is a requirement for SavedStateHandle, so there is already some mismatch between those systems. In addition, even if you are using a saveable key, every ViewModel is doubling the amount of saved instance state you are storing - once for your back stack and once in the SavedStateHandle, which is unnecessary.
eygraber
11/25/2025, 5:05 PMIan Lake
11/25/2025, 5:08 PMIan Lake
11/25/2025, 5:12 PMeygraber
11/25/2025, 5:24 PMrememberSaveable