PluralResourceStringResolver

class PluralResourceStringResolver : StringResolver

A StringResolver that retrieves pluralised strings from the given Context. For more information on the returned values see Resources.getQuantityString.

Constructors

Link copied to clipboard
fun PluralResourceStringResolver(@PluralsRes pluralRes: Int, quantity: Int, vararg formatArguments: Any)

Types

Link copied to clipboard
object CREATOR : Parcelable.Creator<PluralResourceStringResolver>

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun get(context: Context): String

Resolves a String based on the given Context. The resulting value may differ per Context. E.g. due to differing locales.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)