Flyout Navigation and General Navigation is slower compared to Xamarin forms in MAUI #3286
Unanswered
dharamhbtik
asked this question in
.NET MAUI
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We recently migrated from Xamarin Forms to MAUI with .NET 8. We have used PRISM extensively in Xamarin Forms and MAUI, but we are using PRISM only for navigation and registered Views and View Models only in the PRISM IoC through PRISM startup.
Main Navigation through NavigateAsync method is also slower than Xamarin Forms and the Flyout Menu is also slower.
Is there any tweak we need to do in the MAUI to make it faster or at least similar to Xamarin Forms' performance?
The rest of the dependencies we are injecting through Microsoft inbuild dependencies.
In the above code, registerTypes we are registering the other dependencies, and in PrismStartup.Configure we are registering the Views and ViewModels
For Menu Navigation
await _navigationService.NavigateAsync($"/{nameof(MenuPage)}/{nameof(NavigationPage)}/{nameof(HomePage)}");
for normal navigation
await _navigationService.NavigateAsync($"/{nameof(NavigationPage)}/{nameof(SettingsPage)}?{HomePageViewModel.InitData}=true");
Any suggestions for performance improvement?
Beta Was this translation helpful? Give feedback.
All reactions