Answer the question
In order to leave comments, you need to log in
How to create an array of dictionaries in Kotlin?
something like this: [{"id":1, "value":5},{"id":2, "value":6}]
Answer the question
In order to leave comments, you need to log in
https://metanit.com/kotlin/tutorial/2.3.php arrays
https://metanit.com/kotlin/tutorial/7.4.php dictionaries
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question