What is "shared preferences" in Android ?

Shared Preferences is one of data storage mechanism in Android.

It is a xml file store the data in key-value pair.

It will store the small amount of data.

It can be store only primitive data.

Common use case of Shared Preference 

1. Check the User Login session inside the application

2. Show the demo/intro/welcome Screens one time per application

3. Small amount of data passed to across activities which is hard with Intents