pluralStringResource

Functions summary

String

Load a plurals resource.

String
@Composable
pluralStringResource(id: @PluralsRes Int, count: Int, vararg formatArgs: Any)

Load a plurals resource with provided format arguments.

Functions

pluralStringResource

@Composable
fun pluralStringResource(id: @PluralsRes Int, count: Int): String

Load a plurals resource.

Parameters
id: @PluralsRes Int

the resource identifier

count: Int

the count

Returns
String

the pluralized string data associated with the resource

pluralStringResource

@Composable
fun pluralStringResource(id: @PluralsRes Int, count: Int, vararg formatArgs: Any): String

Load a plurals resource with provided format arguments.

Parameters
id: @PluralsRes Int

the resource identifier

count: Int

the count

vararg formatArgs: Any

arguments used in the format string

Returns
String

the pluralized string data associated with the resource