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
27 stars 5 forks source link

[Feature] Flyout page support #14

Open BurkusCat opened 1 year ago

BurkusCat commented 1 year ago

Is your feature request related to a problem? Please describe. Flyout pages haven't been properly tested. A very basic flyout page probably works but they haven't been explored yet. They need tested out with the existing framework and well thought out changes need to be made to improve their functionality with this library.

Describe the solution you'd like An analysis needs done to find out what should happen, but a good way to navigate (potentially requiring #1 first) to different pages within flyouts and to leave flyouts would be good.

Describe alternatives you've considered N/A

Proposed APIs

// INavigationService
void SwitchFlyoutDetail<T>() // this swaps out the current detail page with this new one

void PushFlyoutDetail<T>() // this pushes an additional page on top of the current detail

Additional context

BurkusCat commented 8 months ago

I wonder if this fix: https://github.com/dotnet/maui/pull/18451 helps this