1

I have already checked the solutions with the wrapper and the other suggestions but it seems too much work for something so simple in the previous api. Actually a way to replace updateConfiguration which was deprecated in api 25 would resolve the issue

Android N change language programatically

Android context.getResources.updateConfiguration() deprecated

Android context.getResources.updateConfiguration() deprecated

Community
  • 1
  • 1
Thanasis Saxanidis
  • 141
  • 1
  • 2
  • 12

1 Answers1

0

The best solution I found with no updateConfiguration() is from this answer : Android N change language programmatically

At least for now using context wrapper is the simplest solution.

Alex Michailidis
  • 4,078
  • 1
  • 16
  • 35
Thanasis Saxanidis
  • 141
  • 1
  • 2
  • 12