I have the same problem like this post Create an arraylist with multiple object types?
I have a list of objects: List<Object[]> and I would have List<String,Float>
and I want do like the reply of GV that I make a custom model class with two parameters one Integer and other String. Then using an ArrayList of that object.
but I don't know how can I return this List with a multiple types.
List<YourCustomModelClass>and anotherList<WhateverYouMayStoreHere>.Map<String,Float>work? Otherwise aList<YourCustomWrapper>