stefano.maffullo
11/25/2017, 3:19 PMjamie-purchase
11/25/2017, 3:22 PMArrayList<Object>
and cast them in and out... or create a class that has a property of either Double or String and have an ArrayList<MyClass>
but as for Kotlin likely far better waysjamie-purchase
11/25/2017, 3:24 PMArrayList<Pair...
karelpeeters
11/25/2017, 3:25 PMEither
from either #C0B8E36SG or #C5UPMM0A0.cedric
11/25/2017, 3:31 PMEither
)stefano.maffullo
11/25/2017, 3:37 PMcedric
11/25/2017, 3:38 PMdata class MyStructure { val d: Double, val s: String }
and put that in your listcedric
11/25/2017, 3:41 PMstefano.maffullo
11/25/2017, 3:48 PMcedric
11/25/2017, 3:52 PMArrayList
.cedric
11/25/2017, 3:54 PMlistOf()
or mutableListOf()
stefano.maffullo
11/25/2017, 4:01 PMjamie-purchase
11/25/2017, 4:39 PMcedric
11/25/2017, 4:49 PM