有什么区别或者它们相同(除了它们返回的格式)?
最佳答案
经过快速谷歌,我发现了这个: http://androiddevevelopmentnotes.blogspot.com/2011/08/how-to-find-available-locales-in-andoid.html
Locale.getAvailableLocales()
- returns a pretty large number of Locales.
Activity.getAssets().getLocales()
- returns the Locales that the AssetManager contains data for, which is typically a lot less than what Locale.getAvailableLocales() returns.
关于java - Android 中 Locale.getAvailableLocale 和 assetManager.getLocale 之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41888941/