Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources.updateConfiguration() is deprecated #5

Open
felixwiemuth opened this issue Sep 20, 2017 · 2 comments
Open

Resources.updateConfiguration() is deprecated #5

felixwiemuth opened this issue Sep 20, 2017 · 2 comments

Comments

@felixwiemuth
Copy link

felixwiemuth commented Sep 20, 2017

As of API 25, Resources.updateConfiguration() is deprecated and should thus not be used anymore in Source/library/src/main/java/im/delight/android/languages/Language.java. This example shows what to do in the different APIs.

@ocram
Copy link
Contributor

ocram commented Sep 21, 2017

Thank you!

It seems that it's this version for API levels up to 24 and this version for API levels 25 and above.

@felixwiemuth
Copy link
Author

While I appreciate your work and attempt to solve the problem of changing locales with a library, I wrote an answer on Stack Overflow with instructions for a non-libarary solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants