add sample text for additionnal testing

This commit is contained in:
Mylloon 2023-12-19 19:33:09 +01:00
parent fd95c308d0
commit 9cd7bd672b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -182,7 +182,9 @@ class HomeViewModel(application: Application) : AndroidViewModel(application) {
}, },
... ...
] ]
} */ }
Sample available there: https://pastebin.com/raw/7jUWF313 */
val json = JSONObject(data.single()) val json = JSONObject(data.single())
val setId = dao.insert(SetQuestions(name = json.getString("name").trim())) val setId = dao.insert(SetQuestions(name = json.getString("name").trim()))