Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm a Xamarin Newbies. What is the accurate technique to store value like Session? Then, this value we can retrieve back at any form?
Please help
As IoC is available there, you can simply define your own configuration class and then drop an object of it to the IoC container. Then anywhere else you can query the configuration from IoC.
You can even implement more complicated per environment configuration https://medium.com/@benjamintodts/cross-platform-environment-aware-configuration-files-in-xamarin-232e7d5ddd80
The technique though is universal and not limited to Xamarin.