I have a HashMap which contains a key and value, both of which are strings. I am getting the HashMap from a different activity. I am trying to use the HashMap and put it into an array adapter so I can display a spinner with the values of the HashMap. I have tried to iterate through the HashMap and haven't had any luck.
HashMap<String, String> examCodesMap = (HashMap<String, String>) MainActivity.examCodesMap;