gpt4 book ai didi

java - Android 中 Locale.getAvailableLocale 和 assetManager.getLocale 之间的区别?

转载 作者:行者123 更新时间:2023-12-02 03:04:41 24 4
gpt4 key购买 nike

有什么区别或者它们相同(除了它们返回的格式)?

最佳答案

经过快速谷歌,我发现了这个: 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com