otakusenpai
01/20/2019, 1:31 PMval list = mutableListOf<Pair<String,String>>()
....
list.add(Pair(foo,bar))
But in my case this doesn't add a new item to the list.
All this is done inside a coroutinescope from a object of a class which has the above code.Andrew S
01/20/2019, 3:55 PMfun main(args: Array<String>) {
val list = mutableListOf<Pair<String,String>>()
println(list)
list.add(Pair("foo","bar"))
println(list)
}