I tried to create a list of maps. In the following code, I\'m expecting to get
[{start=1,text=ye}, {start=2,text=no}]
however, I only got
Something which is maybe also worth mention it, is that you should define the type of the elements you use in the List, for the HashMap its not possible because you are mixing Integers and Strings.
And another thing is that you should use the List interface as type, so you are able to change the implementation (ArrayList or whatever) in the future.
Here the corrected code:
Map mMap = new HashMap();
List