ArrayListHashMapString, String in a BaseAdapter Class

1

I have the following Arraylist:

ArrayList<HashMap<String, String>> menuItens = new ArrayList<HashMap<String, String>>();
for (int i = 0; i < 6; i++){
    HashMap<String,String> hashMap = new HashMap<String,String>();
    hashMap.put("chave_" + i, "valor_" + i);
}
menuItens.add(hashMap);

Now, in the Class that extends the BaseAdapter I want to capture the% values of "%" and "value" to apply to a ListView.

What is the best way to capture these two values (key and value) in order to add them in two Strings?

    
asked by anonymous 24.06.2015 / 13:14

0 answers