annotatedPluralStringResource
Load a styled plurals resource.
Return
the pluralized string data associated with the resource
Parameters
id
the resource identifier
count
the count
See also
for more details
fun annotatedPluralStringResource(@PluralsRes id: Int, count: Int, formatArgs: PersistentMap<String, String>): AnnotatedString
Load a styled plurals resource with provided format arguments.
Return
the pluralized string data associated with the resource
Parameters
id
the resource identifier
count
the count
formatArgs
arguments used in the format string
fun annotatedPluralStringResource(@PluralsRes id: Int, count: Int, vararg formatArgs: Any): AnnotatedString
Deprecated
Use the annotatedPluralStringResource with PersistentMap overload instead
Replace with
annotatedPluralStringResource(id, count, persistentMapOf(formatArgs))
Content copied to clipboard
Load a styled plurals resource with provided format arguments.
Return
the pluralized string data associated with the resource
Parameters
id
the resource identifier
count
the count
formatArgs
arguments used in the format string