getPluralString

fun getPluralString(resId: Int, quantity: Int, locale: Locale? = null): String

Returns a localized string for plurals retrieved by its ID.

Return

Localized string.

Parameters

resId

String resource ID.

quantity

The quantity used to retrieve correct form.

locale

Locale which will be used to retrieve resource.