Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muddassir235 authored Sep 2, 2020
1 parent c829823 commit 9fec7ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ save("mykey", 1L) // Long
save("mykey", 1.0f) // Float
save("mykey", "My String") // String
save("mykey", arrayOf("my", "strings")) // Arrays of all primitive types are supported
...
.
.
.
save("mykey", anySerializableObject) // Any Serializable object can be saved.
save("mykey", arrayListOfAnySerializableObject) // An ArrayList of any Serializable Object can also be saved.
```
Expand All @@ -79,6 +81,9 @@ load<Long>("mykey")
load<Float>("mykey")
load<String>("mykey")
load<Array<Boolean>>("mykey") // Arrays of all primitive types are supported
.
.
.
load<MySerializableObject>("mykey") // Any Serializable object can be load.
load<ArrayList<MySerializableObject>>("mykey") // An ArrayList of any Serializable Object can also be loaded.
```
Expand Down

0 comments on commit 9fec7ea

Please sign in to comment.