We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d273b4c commit 9cf9489Copy full SHA for 9cf9489
README.md
@@ -8,6 +8,8 @@ A lite weight SharedPreference library which uses annotation processing to gener
8
9
```kotin
10
class InecBox(context: Context) {
11
+
12
+ val TAG: String = "InecBox"
13
14
//Read item from JadeSharedPreference
15
@ReadString("ballot")
@@ -22,7 +24,13 @@ class InecBox(context: Context) {
22
24
}
23
25
26
fun readBallot(){
- Log.d(InecBox::class.simpleName, ballotPaper)
27
+ Log.d(TAG, ballotPaper)
28
+ }
29
30
+ //Listen to String changes in realtime
31
+ @ReadString("ballot")
32
+ fun readStringChanges(s: String){
33
+ Log.d(TAG, s)
34
35
36
0 commit comments