Hi! Any advice on how to change Locale in unit tes...
# android
e
Hi! Any advice on how to change Locale in unit tests? Since it is not java, there is no option to use Locale.setDefault()
not kotlin but kotlin colored 1
stackoverflow 1
👀 1
g
It's not different, you can use Locale.setDefault on Android
There is also AppCompatDelegate.setApplicationLocales, but it needed only to update it on runtime to update all activities