I'm having some conceptual issues with the Maui AppShell. When I start my application, I want to present my users with
- The login page if they're not authenticated.
- The onboarding page if they're authenticated, but haven't filled in basic info.
- Otherwise, the main view
But the AppShell seems pretty static:
<Shell x:Class="ThetaRex.OpenBook.Demo.AppShell"
Shell.FlyoutBehavior="Disabled"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui">
<ShellContent ContentTemplate="{DataTemplate MainView}"/>
</Shell>
How does one use the AppShell to programmatically navigate to a page when the application starts?