pluralStringResource
Composable Function
Android
@Composable
@ReadOnlyComposable
fun pluralStringResource(@PluralsRes id: Int, count: Int): String
Load a plurals resource.
Parameters
| id | the resource identifier |
| count | the count |
Returns
| the pluralized string data associated with the resource |
Android
@Composable
@ReadOnlyComposable
fun pluralStringResource(@PluralsRes id: Int, count: Int, vararg formatArgs: Any): String
Load a plurals resource with provided format arguments.
Parameters
| id | the resource identifier |
| count | the count |
| formatArgs | arguments used in the format string |
Returns
| the pluralized string data associated with the resource |
