[Solved] Get single item from List

[ad_1]

You should read the documentation of List and Map (respective HashMap) to see how to use them.

Since your List contains Map you’ll have to get a Map using the List operations and then get the elements from that Map using the Map operations:

HashMap<String, String> firstMap = lst.get(0);
String someEntry = firstMap.get("key");

0

[ad_2]

solved Get single item from List>