Closed PureWeen closed 2 years ago
Definitely liking the sound of this proposal.
+999999999 for drilldown and scenarios
Thanks for this suggestion! As Xamarin.Forms is now in maintenance mode, this will not happen anymore for Xamarin.Forms. We're only adding bugfixes and stability fixes.
If this is still important to you, make sure to check the .NET MAUI repo and see if it's already on the roadmap. If not, feel free to open a discussion to discuss a change first or open an issue with a detailed feature request. Thanks!
Shell Scenarios
Currently the shell Xaml structure isn't as declarative as it could be when putting together your structures. It would be ideal to enable the ability to create scenarios that allow developers to describe workflows.
https://github.com/xamarin/Xamarin.Forms/issues/6950 https://github.com/xamarin/Xamarin.Forms/issues/6139 https://github.com/xamarin/Xamarin.Forms/issues/5272
Currently if users want to represent a Login scenario (very typical) they do so like this
It's very confusing that the top part and the bottom part are mutually exclusive. Out of the box we could provide a default layout scenario that just indicates what layouts you want active
Then we would enable these scenarios along the same line as the MVVM hooks we are building here https://github.com/xamarin/Xamarin.Forms/issues/5166
So users could register a service for a Scenario and then that service could handle everything outlined in #5166 before it passes things up to the NavigationService
Scenarios
Authentication Scenario (this would not be part of core it's just demonstrating capabilities)
See https://github.com/xamarin/Xamarin.Forms/issues/5166 for description of these interfaces
Custom Scenarios with custom Xaml types
In this scenario we would provide a custom XAML type and then developers could just control all the interactions themselves inside DrillDownNavigationScenario
Difficulty : medium