Francescos
05/19/2022, 4:50 PMNavBackStackEntry.savedStateHandle
is a complete different object from the SavedStateHandle
object injected from Hilt in the corresponding route ViewModel
?Ian Lake
05/23/2022, 8:21 PMFrancescos
05/24/2022, 2:10 PMpreviousNavBackStackEntry.savedStateHandle.set()
) and I thought I could handle it in the view model through savedHandleState.getLiveData()
. Anyway. I found your answer to another thread in which you linked the documentation page on how to properly handle a result back (https://developer.android.com/guide/navigation/navigation-programmatic#returning_a_result). Thank you very much for your time.