-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling PushPageModel outside of page model #43
Comments
So you might need to get the navigation service out of the IOC container It kind of depends. what type of navigation do you have? On Friday, 19 February 2016, OpticNectar notifications@github.com wrote:
Michael Ridland | Technical Director | Xamarin MVP XAM Consulting - Mobile Technology Specialists Blog: www.michaelridland.com |
Is there an example of how to do that somewhere? I haven't worked with IOC containers much, and i'm not sure how to go about that. |
It really depends on your overall navigation.
@OpticNectar please feel free to email me michael@xam-consulting.com |
@rid00z That seemed to have worked perfectly. Thanks!! |
@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? |
How 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 fromFreshBasePageModel
. I'm using http://xam-consulting.com/slideoverkit-xamarin-forms/ in case you are wondering.The text was updated successfully, but these errors were encountered: