You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a .NET MAUI application, I am using the Prism.Maui 9 NuGet package.
I looked at a few apps on my phone for inspiration. Beyond the Login/Signup page, my Chase Bank application takes me to a landing page of account information. In the top-right is a user icon which navigates entirely to a page of "Profile & Settings". But, on the main page at the bottom are 4 tabs: Accounts, Pay & collect, Benefits & travel, and More ... Other applications behave similarly in terms of having the tabs at the bottom for the main landing page content and a settings or accounts icon in the top-right or top-left.
I want to make sure I'm doing things properly here. I started my application off by creating a MainPage which has tabbed items at the bottom for different content. I utilized Prism Regions to load the main content. I'm not wondering if this is correct or if I should be utilizing deep linking and the NavigationService instead?
privatevoidOnUpdateActiveMainPageContent(IMainPageContenttab){if(tabis not null){RegionManager.RequestNavigate("MainPageContent",tab.ContentIdentifier);}}
I was trying to figure out how to utilize the Navigation Service to navigate to an entirely new page (not just load content on a selected tab). On my MainPage I have a gear icon in the top-right corner for settings, this should replace the entire MainPage with the SettingsPage, not simply load the SettingsPage into the MainPageContent region. On the SettingsPage itself, it should have a navigate back button that when clicked should have a way of navigating back, but the documentation is unfinished or outdated.
Honestly, at this point I really wonder if I'm structuring my project properly at all. I saw some other posts about Navigation and Tabbed Navigation and that's why I wonder if I'm using Regions and Navigation correctly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I am working on a .NET MAUI application, I am using the Prism.Maui 9 NuGet package.
I looked at a few apps on my phone for inspiration. Beyond the Login/Signup page, my Chase Bank application takes me to a landing page of account information. In the top-right is a user icon which navigates entirely to a page of "Profile & Settings". But, on the main page at the bottom are 4 tabs: Accounts, Pay & collect, Benefits & travel, and More ... Other applications behave similarly in terms of having the tabs at the bottom for the main landing page content and a settings or accounts icon in the top-right or top-left.
I want to make sure I'm doing things properly here. I started my application off by creating a MainPage which has tabbed items at the bottom for different content. I utilized Prism Regions to load the main content. I'm not wondering if this is correct or if I should be utilizing deep linking and the NavigationService instead?
XAML:
ViewModel
I was trying to figure out how to utilize the Navigation Service to navigate to an entirely new page (not just load content on a selected tab). On my MainPage I have a gear icon in the top-right corner for settings, this should replace the entire MainPage with the SettingsPage, not simply load the SettingsPage into the MainPageContent region. On the SettingsPage itself, it should have a navigate back button that when clicked should have a way of navigating back, but the documentation is unfinished or outdated.
Honestly, at this point I really wonder if I'm structuring my project properly at all. I saw some other posts about Navigation and Tabbed Navigation and that's why I wonder if I'm using Regions and Navigation correctly.
All reactions