Created
April 8, 2019 23:10
-
-
Save rafaelanastacioalves/dfe1fcd06ef587c77d45312870240211 to your computer and use it in GitHub Desktop.
Text Helpers
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
final Locale locale = new Locale("pt", "br"); | |
view.setText(TextHelper.fromHtml( | |
String.format(locale, | |
getString(R.string.android_resource_name), | |
someValue | |
) | |
) | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment