https://kotlinlang.org logo
f

freddiewang

06/15/2018, 10:07 AM
I met the same problem as this one https://stackoverflow.com/questions/49051453/arrayadapter-addall-type-mismatch#, does anyone know the better solution? I am using kotlin 1.2.50
j

João Gonçalves

06/15/2018, 10:19 AM
what if you call the extension method .toList() on the mutable list when passing it to the arrayadapter?
f

freddiewang

06/15/2018, 12:15 PM
I will try this way, thanks!
2 Views