Skip to content

Commit

Permalink
Updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
devmike01 committed Feb 1, 2019
1 parent dfc8dbd commit 8606654
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A lite weight SharedPreference library which uses annotation processing to gener
* Listen to value changes in realtime

```kotin
class InecBox(context: Context) {
class InecBox @SharedPref("key") constructor(context: Context) {
val TAG: String = "InecBox"
Expand All @@ -18,7 +18,6 @@ class InecBox(context: Context) {
private var jsp :JadeSharedPreference =JadeSharedPreference.plug(this, context)
@SharedPref("key")
fun inecBox() {
//Insert item to JadeSharedPreference
jsp.insert("ballot", "Ballot Paper")
Expand Down

0 comments on commit 8606654

Please sign in to comment.