Last active
September 6, 2018 09:44
-
-
Save bezysoftware/b878461a89a77981ee79ec1a5343261c to your computer and use it in GitHub Desktop.
Strings plural usage in Kotlin
This file contains hidden or 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
| val count = getNumberOfOrangesAvailable() | |
| val orangesFound = resources.getQuantityString(R.plurals.numberOfOrangesAvailable, count, count) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment