public MainPage(MainViewModel viewModel)public SecondPage(SecondViewModel viewModel)await App.Current.MainPage.Navigation.PushAsync(new SecondPage()); but now it gives an error becase of missing VM. So how should I approach this? Should I inject SecondViewModel in the mainViewModel as well, and navigate to another page like await App.Current.MainPage.Navigation.PushAsync(new SecondPage(secondViewModel)); or is there any otehr way?