SharedPreferenceHelper

Additional

Language
Java
Version
1.1.4 (Feb 18, 2020)
Created
Dec 14, 2019
Updated
Feb 18, 2020
Owner
George Samir (georgesamirmansour)
Contributor
George Samir (georgesamirmansour)
1
Activity
Badge
Generate
Download
Source code

Promotion

Shared Preference helper libaray

Easy libaray to manage stored data in shared prefreance. will simple lines of code. no need to add new helper class to use it.

Leatest version

Download

Gradle

   implementation 'com.github.georgesamirmansour:SharedPrefHelper:1.x'

or Maven:

<dependency>
  <groupId>com.github.georgesamirmansour</groupId>
  <artifactId>SharedPrefHelper</artifactId>
  <version>1.x</version>
</dependency>


You can use any type of mode.

publicclassBaseApplicationextendsApplication {
 

 @OverridepublicvoidonCreate() {
        super.onCreate();
        PrefHelper.setSharedPreferences(getApplicationContext(), SharedPrefKeys.sharedName,
                Context.MODE_PRIVATE);
     }

}