Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
yehiahd committed Apr 4, 2018
2 parents bfc0b39 + a593364 commit ad78929
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It allows you to save any type or list in the sharedpreferences and retrieve it

<b>Add jitpack.io to your root gradle file (project level)</b>

```
```groovy
allprojects {
repositories {
...
Expand All @@ -17,7 +17,7 @@ allprojects {
```
<b>Add FastSave-Android to your app level build.gradle dependency</b>

```
```groovy
dependencies {
implementation 'com.github.yehiahd:FastSave-Android:1.0.1'
}
Expand All @@ -26,7 +26,7 @@ dependencies {

You have to initialize the FastSave library inside your application class :

````
```java
public class MyApplication extends Application {
@Override
public void onCreate() {
Expand All @@ -35,11 +35,11 @@ public class MyApplication extends Application {
}
}

````
```

<b>Usage</b>

````
```java
FastSave.getInstance().saveInt(key,value); // For saving Integer value
FastSave.getInstance().getInt(key); // For Getting Integer value

Expand All @@ -62,4 +62,4 @@ FastSave.getInstance().getObjectList(key,classType); // For Getting Custom Objec
//clear all sharedPrefereces
FastSave.getInstance().clearSession();

````
```

0 comments on commit ad78929

Please sign in to comment.