EasyStore – Android Shared Preferences (Easy data storage library)

Hello dear android developers. Earlier, I wrote an article explaining the use of shared preferences.. You can find that article here. In this article, I will tell you about a library that I wrote, where you can store data more easily and read that data easily.

What is EasyStore?

EasyStore is a tool that makes SharedPreferences easier to use. is the library. It is a library where you can easily print and read data after a one-time installation.

Why I Prefer EasyStore?

When I first started the software, I made it very difficult to use SharedPreferences.. Sometimes the keys of the data I recorded and the data I read were confused, in this case I could get errors that I could not notice.

Then I decided to define variables.. In this case, the keys will be kept in one place and I would not have any problems.. This situation continued like this for a long time, I didn’t have any problems, but later on, I had to save and read data in classes other than activity and fragment, in this case I had to call context just for SharedPreferences and this was really unnecessary for me.. That’s why I developed the EasyStore library that I will init once in the application class. In this way, the EasyStore library was born.

EasyStore Usage Examples

  • First, let’s define the library. Let’s define
  • Application in our manifest file. android EasyStore. I will continue to develop the EasyStore library. You can follow my Github account and star EasyStore library.. Please do not forget to comment for your questions, comments and suggestions.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *