vendredi 19 juillet 2019

How can I check if Currency.getAvailableCurrencies() contain my String value?

I need to check if Currency.getAvailableCurrencies () contains my currency which is a string

I'm tried this

if(Currency.getAvailableCurrencies().contains("my currency")){
// do something
}

but thats return false, but he contain mu currency? i know it

Aucun commentaire:

Enregistrer un commentaire