I have an
ArrayList<HashMap<String, String>>
I have good reasons to use the Hashmap. I'm getting a bunch of names from Sqlite into an array. Starting at the first name how do I get the next String in the array.
ArrayList<HashMap<String, String>> name =controller.getnames();
String[] array=name.toArray(new String[name.size()]);
The first name might be John the second Joe and the third Jim. How do I get the next name.
Aucun commentaire:
Enregistrer un commentaire