Created
May 31, 2016 15:58
-
-
Save mooingcat/6acc8b9e1694eafe4f83a9968cc71684 to your computer and use it in GitHub Desktop.
Change Robolectric locale
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shadows.shadowOf(RuntimeEnvironment.application.resources.configuration).setLocale(Locale("fr")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment