I am using following code:
public boolean initialSetupDone;
public Currency defaultCurrency;
public String userId;
final String kProfileSetupDoneKey = "kProfileSetupDone";
final String kDefaultCurrencyKey = "kDefaultCurrency";
final String kUserIdKey = "kUserIdKey";
String values are the keys while others are the values.
Please tell me how can i store these values as HashMap. I have tried to do it with Dictionary, but can’t find any good way to do it.
How can i do that
Best Regards
Like this, but is usually not a good idea to mix types in a map: