protected virtual void OnInitialize() { _typeResolver = new iOSFrameworkTypeResolver(); _loggingProvider = new DefaultLoggingProvider(); _resourcesProvider = new iOSResourcesProvider(); _synchronizationProvider = new iOSSynchronizationProvider(this); _navigationProvider = new iOSNavigationProvider(NavigationController, _typeResolver, new PlatformProviders(GetNavigationProvider, _synchronizationProvider, _resourcesProvider)); }
protected virtual void OnInitialize() { _typeResolver = new AndroidFrameworkTypeResolver(this); _loggingProvider = new DefaultLoggingProvider(); _resourcesProvider = new AndroidResourcesProvider(this); _synchronizationProvider = new AndroidSynchronizationProvider(); _navigationProvider = new AndroidNavigationProvider(_typeResolver, _synchronizationProvider, _resourcesProvider); }
protected virtual void OnInitialize(IActivatedEventArgs args) { _loggingProvider = new DefaultLoggingProvider(); _synchronization = new SynchronizationProvider(); _resources = new WindowsRuntimeResourcesProvider(ResourceLoader.GetForViewIndependentUse(Constants.StoreAppsInfrastructureResourceMapId)); _typeResolver = new DefaultMvvmTypeResolver(); _lifecycleProvider = new UwpLifecycleProvider(_typeResolver, _synchronization, _resources); _navigationProvider = CreateNavigationManager(Window.Current, _typeResolver, _synchronization, _resources); }
protected virtual INavigationProvider CreateNavigationManager(Window window, IFrameworkTypeResolver typeResolver, ILifecycleProvider lifecycle) { return new UwpNavigationProvider(window, typeResolver, lifecycle); }
protected virtual void OnInitialize() { _loggingProvider = new DefaultLoggingProvider(); _typeResolver = new WpfFrameworkTypeResolver(); _navigationProvider = new WpfNavigationProvider(RootNavigationService, _typeResolver, _synchronization, _resources); }