Grokking Android

Getting Down to the Nitty Gritty of Android Development

Posts tagged “Plural Rules”:

Wrapping Your Head Around Android’s Plurals

By

Android has this nice feature to make your handling of strings with numbers easy. If you want to display slightly different messages that depend on how many items a user has selected, you can use Android’s plurals element in your strings.xml: Of course you have to use this string somewhere in your code and you […]  Continue Reading  “Wrapping Your Head Around Android’s Plurals”