Desidero utilizzare la risorsa plurals per produrre un numero quotato come "9"
.getQuantityString che non sostituisce il formato con il valore
Nel mio plurals.xml
:
<plurals name="posts">
<item quantity="other">\"%dd\"<\item>
</plurals>
Il codice:
String text = res.getQuantityString(R.plurals.posts, meUser.postCount);
Quando il postCount
è 9, perché fa text
rivelarsi "%dd"
e non "9"
?