daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Aug 18th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. onConfigurationChanged not called when new language is selected from the app in Android
  2. Locale locale = new Locale("language_code");
  3.         Locale.setDefault(locale);
  4.         Configuration config = new Configuration();
  5.         config.locale = locale;
  6.         getBaseContext().getResources().updateConfiguration(config, null);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top