Santiago Mattiauda

Results 2 comments of Santiago Mattiauda

Hi @annotation-engine , could you check out this example: https://github.com/android/nav3-recipes/tree/main/app/src/main/java/com/example/nav3recipes/passingarguments/viewmodels/koin. Beyond Koin, the ViewModel handling changes slightly; now you need to add the following Entry Decorators: rememberSaveableStateHolderNavEntryDecorator(), rememberViewModelStoreNavEntryDecorator() (https://developer.android.com/guide/navigation/navigation-3/save-state)