public NavigationRootManager(IMauiContext mauiContext) { _mauiContext = mauiContext; _rootView = new WindowRootView(); _rootView.BackRequested += OnBackRequested; _rootView.OnApplyTemplateFinished += OnApplyTemplateFinished; }
public NavigationRootManager(Window platformWindow) { _platformWindow = platformWindow; _rootView = new WindowRootView(); _rootView.BackRequested += OnBackRequested; _rootView.OnApplyTemplateFinished += OnApplyTemplateFinished; _rootView.OnAppTitleBarChanged += OnAppTitleBarChanged; }