loadQuantityString

abstract fun loadQuantityString(identifier: String, quantity: Int, defaultValue: String): String

Attempts to load grammatically correct pluralization of the given string identifier. If no match is found, the defaultValue will be returned.

Return

The associated String resources or defaultValue if no such resource was found.

Parameters

quantity

The value to get pluralized string for.

identifier

The identifier to find the format String resource for.

defaultValue

The String to return if no match was found for the identifier.