Calling PushPageModel outside of page model
See original GitHub issueHow can I call PushPageModel
or something similar outside of a page model? There are times I need to call it from a menu that has it’s own View Model that does not inherit and cannot inherit from FreshBasePageModel
. I’m using http://xam-consulting.com/slideoverkit-xamarin-forms/ in case you are wondering.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
What is the difference between PushPageModel and ...
1 Answer. In FreshMvvm PushPageModelWithNewNavigation is starting new NavigationStack unlike PushPageModel . If you use ...
Read more >Pass Data Between ViewModels in FreshMvvm for Xamarin ...
... Pass Data Back to Calling ViewModel 16:16 - Outro Video edited with ... #MVVM #MVVMFramework #PassData # PageModel #ViewModel # Page #View....
Read more >FreshMvvm Basic Navigation Concepts in Xamarin.Forms
... of Styling 15:56 - Navigate with Modal Pages 20:21 - Outro Video edited ... #MVVMFramework #Navigation # PageModel #ViewModel # Page #View....
Read more >Waiting On A Modal Page Using FreshMvvm - Xamarin.Forms
Hi All, My application uses FreshMvvm for model-first navigation throughout. I have an editor page for data entry which is normally displayed non-modally ......
Read more >Using MVVM in your Xamarin.Forms app
You can navigate to another PageModel by executing: CoreMethods.PushPageModel<AnotherPageModel>();. There are some overloads as ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@OpticNectar
It really depends on your overall navigation.
var navService = FreshMvvm.FreshIOC.Container.Resolve<IFreshNavigationService> (FreshMvvm.Constants.DefaultNavigationServiceName);
var page = FreshPageModelResolver.ResolvePageModel<MyPageModel> ();
navService.PushPage (page, null);
@OpticNectar please feel free to email me michael@xam-consulting.com
@rid00z I have similar question like the one in this thread:
To handle the push on app launching, I need to check the push data to decide which page to open, so there would be some work in iOS’s AppDelegate.FinishedLaunching, how can I implement this with FreshMvvm and/or forms navigation service?