I want to uses the plurals resource to produce a quoted number like "9"
.
In my plurals.xml
:
<plurals name="posts">
<item quantity="other">\"%dd\"<\item>
</plurals>
The code:
String text = res.getQuantityString(R.plurals.posts, meUser.postCount);
When the postCount
is 9, why does text
turn out to be "%dd"
and not "9"
?