问题
Currency.getDisplayName(java.util.Locale) is exactly what I want... except it's only available since Android API 19. That's no good as my minSdkVersion
< 19.
Does anyone know how to get the locale-specific display name for a currency before API 19? Preferably without having to use a third-party library.
This question can alternatively be expressed as:
How can you get the equivalent of Currency.getDisplayName(java.util.Locale) before Java 7?
来源:https://stackoverflow.com/questions/40349116/how-to-get-a-currencys-display-name-before-android-api-19