Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.03 KB

File metadata and controls

52 lines (42 loc) · 1.03 KB

PreferenceStore

A customized preference store library for android with compile-time type checking and a lot more.


Import

Add JitPack repository to your project level build.gradle file

...

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Or, in newer android projects, if you need to add the repository in settings.gradle file...

...

dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Finally, add these two dependencies to your app/module level build.gradle file

...

dependencies {
    ...
    implementation 'com.google.code.gson:gson:2.9.1'
    implementation 'com.github.buggysofts-com:PreferenceStore:v1.0.1'
}

And you are done importing the library.


Sample codes

Upcoming...



Please share & rate the library if you find it useful.

Happy coding!