In this blog, we are learning how to use and implement shared preferences in Xamarin Android.
Introduction In most cases, an application has a login screen for authenticating apps or accessing an application for further processing i.e. accessing data. There is another optionas well; i.e., Remember Me on the login screen of the applicaition itself.
If you checked the checkbox of Remember Me at the time of login, when user opens an Application next time, then it directly navigates into app’s main screen, which is default screen after login without navigating to login screen.
Where we can use Shared Preference (Use Case)
How to achieve this?
Solution
Output Windows for Shared Preferences demo project is given below.
Summary We learned how to use Shared Preferences and its usage in Xamarin Android as well.
Xamarin.Forms For Beginners