We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61b1c08 commit b49110fCopy full SHA for b49110f
.gitignore
@@ -1,4 +1,5 @@
1
*.iml
2
local.properties
3
.gradle
4
-.idea
+.idea
5
+.DS_Store
app/src/main/java/com/stringcare/sample/MainActivity.kt
@@ -16,10 +16,12 @@ class MainActivity : AppCompatActivity() {
16
r2d2.text = R.string.r2d2.reveal()
17
c3po.text = R.string.c3po.reveal(false)
18
19
- "test.json".asyncJson { json ->
+ val json = "config.json".jsonArray { false }
20
+ val bytes = "config.json".bytes { false }
21
+ "test.json".asyncJson({ false }) { json ->
22
tv_json.text = json.toString()
23
}
- "test.json".asyncBytes({ false }) { bytes ->
24
+ "config.json".asyncBytes { bytes ->
25
tv_json_original.text = String(bytes)
26
27
0 commit comments