A SharedPreferences object points to a file containing key-value pairs and provides simple methods to read and write them . Each SharedPreferences file is managed by the framework and can be private or shared. This page shows you how to use the SharedPreferences APIs to store and retrieve simple values.27 Eki 2021