Harpreet Singh.8052
02/07/2024, 5:31 PMViewModelStore before calling the setGraph method in the NavController. In your MainActivity, you're creating a ViewModelStore but not setting it correctly for the NavController. . Your MainActivity sets up the ViewModelStore before calling the root navigation graph. The issue might lie within the RootNavigationGraph composable or the navigation setup within it.
Ensure that within RootNavigationGraph, you're not performing any navigation-related actions or calling setGraph on the NavController before setting the ViewModelStore.