BurkusCat / Burkus.Mvvm.Maui

A simple MVVM framework for .NET MAUI. It provides: navigation, lifecycle events, parameter passing, native dialog abstractions, and testability.
MIT License
25 stars 5 forks source link

[Feature] Simpler setup: Phase out BurkusMvvmApplication #8

Closed BurkusCat closed 9 months ago

BurkusCat commented 11 months ago

Is your feature request related to a problem? Please describe. It is annoying to be required to use BurkusMvvmApplication to use this library. This is a potential point of failure for first-time users. It would be much better if users could just use the default MAUI Application.

Describe the solution you'd like BurkusMvvmApplication currently sets Current.MainPage = new NavigationPage(); which prevents the app from crashing. It also runs the users initialization logic from the builder i.e. what page they want to go to first.

Describe alternatives you've considered It isn't the worst thing if this was kept and it may be required for future features anyway.

Proposed APIs N/A

Additional context N/A