Shared Preferences

This is the first topic of storing the data as a file. This method is used to store simple data and we can retrieve the data easily.

Till now we are working with the data, which will be lost when the RAM memory is cleaned. But this method, when user enters the name and stores it, it will be saved in a file and even the restarted the data will not be erased.

Leave a comment