Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

android strings plural

<plurals name="test0">
  <item quantity="one">Test ok</item>
  <item quantity="other">Tests ok</item>
</plurals>

// Use case
int count=3;
getResources().getQuantityString(R.plurals.test0, count);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #strings #plural
ADD COMMENT
Topic
Name
6+1 =