But you can also store a bit more complex data if you want. If you are not ready to use a full-blown database yet (or just don’t need it), you can use SharedPreferences to store simple data. Data can be a lot of different things it can be just an email for a registration form, the last opened screen, nickname for a game or a proper database. Almost all applications need to store some data.
It is a place where you can store data this is an XML file with values stored in it. We are going to talk about SharedPreferences in Android.