I have a hash map table as below,
HashMap<String, String> backUpCurency_values = new HashMap<String, String>();
and i want to store these value for future use.. how can i do that?
Edit:
i will store to Country names and currencyvalue as key and value pair…
You should just use a for-each loop and iterate through the map like this:
Then when you need to get your values back for later use you do the following (provided that this SharedPreference-object is reserved for currency):