-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40e53ba
commit 7bbe1e4
Showing
1 changed file
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,49 @@ | ||
# PreferenceStore | ||
A customized preference store library for android with compilte-time type checking and a lot more. | ||
# AndroidZip [![](https://jitpack.io/v/buggysofts-com/PreferenceStore.svg)](https://jitpack.io/#buggysofts-com/PreferenceStore) | ||
A customized preference store library for android with compile-time type checking and a lot more. | ||
|
||
<br /> | ||
|
||
## 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.0' | ||
} | ||
``` | ||
And you are done importing the library. | ||
|
||
<br /> | ||
|
||
## Sample codes | ||
Upcoming... | ||
|
||
Please share & rate the library if you find it useful. | ||
|
||
### Happy coding! |