public static void Initialize() { _viewModelLocatorService = ViewModelLocatorService <SampleViewModel> .Instance; _presenter = new SampleNavigationPresenter(_viewModelLocatorService); Navigation = new SampleNavigationService(_presenter); SetupAndroidNav(_presenter); Navigation.ShowHome(); }
public static async void Initialize(UIWindow window) { var navigationController = new UINavigationController(); window.RootViewController = navigationController; _presenter = new SampleNavigationPresenter(navigationController); Navigation = new SampleNavigationService(_presenter); AssociateScreenToViewController(_presenter); await Navigation.ShowHome(); }