File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # PreferenceStore
2- A customized preference store library for android with compilte-time type checking and a lot more.
1+ # AndroidZip [ ![ ] ( https://jitpack.io/v/buggysofts-com/PreferenceStore.svg )] ( https://jitpack.io/#buggysofts-com/PreferenceStore )
2+ A customized preference store library for android with compile-time type checking and a lot more.
3+
4+ <br />
5+
6+ ## Import
7+ Add JitPack repository to your project level build.gradle file
8+ ```
9+ ...
10+
11+ allprojects {
12+ repositories {
13+ ...
14+ maven { url 'https://jitpack.io' }
15+ }
16+ }
17+ ```
18+ Or, in newer android projects, if you need to add the repository in settings.gradle file...
19+ ```
20+ ...
21+
22+ dependencyResolutionManagement {
23+ ...
24+ repositories {
25+ ...
26+ maven { url 'https://jitpack.io' }
27+ }
28+ }
29+ ```
30+ Finally, add these two dependencies to your app/module level build.gradle file
31+ ```
32+ ...
33+
34+ dependencies {
35+ ...
36+ implementation 'com.google.code.gson:gson:2.9.1'
37+ implementation 'com.github.buggysofts-com:PreferenceStore:v1.0.0'
38+ }
39+ ```
40+ And you are done importing the library.
41+
42+ <br />
43+
44+ ## Sample codes
45+ Upcoming...
46+
47+ Please share & rate the library if you find it useful.
48+
49+ ### Happy coding!
You can’t perform that action at this time.
0 commit comments