Using DryIoc Container in a Xamarin Forms app in c# and I have problem with resolve of services #538
Unanswered
nmpasdanis
asked this question in
Q&A
Replies: 3 comments 5 replies
-
Hi, I think you may get a faster help if you dub you question on StackOverflow, tagging with dryioc and xamarin. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Maksim you are the best. |
Beta Was this translation helpful? Give feedback.
3 replies
-
By this one, I detect which platform my app will use in run time. I don't know if it 100% correct but it helped me to find a solution about my app's crashing.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currenly, I develop a Weather App in Xamarin Forms and I register the Services in App.xaml.cs by the help of the Instance of the Container Class. In the Container Class there is also a method the register the Services using also ( Reuse.Signleton ) and one other method that resolves the services. My question is that: I don't know if it is correctly using Reuse.Singleton because in reality I don't use it very much in this app. But if I remove the Reuse.Singleton from the Register method, my app will crash when as a user I will navigate from the one page to another, cause it will register and resolve again the same Services, please help me.Thank you very much community!!!
Beta Was this translation helpful? Give feedback.
All reactions