How do I use SharedPreferences in Xamarin.Android?
I want to save and retrieve some application settings in my Xamarin.Android project.
I know that in Android (java), I use the class SharedPreferences
to store this information, but I do not know how to convert that to Xamarin C#.
When I type "SharedPreferences" into the Xamarin Studio IDE, there is no auto-completion, so I don't know what to use.
An initial search of the interwebs took me to a related question, but only contains Android java:
So to summarise:
- What is the Xamarin Android C# equivalent of Android Java's
SharedPreferences
?