PluralResource

class PluralResource(@PluralsRes val resourceId: Int, val count: Int, val args: Any) : UiText

Represents an Android plural string resource ID with quantity and format arguments.

Constructors

Link copied to clipboard
constructor(@PluralsRes resourceId: Int, count: Int, vararg args: Any)

Properties

Link copied to clipboard
val args: Array<out Any>
Link copied to clipboard
val count: Int
Link copied to clipboard

Functions

Link copied to clipboard

Resolves the string value within a Composable context.

open fun asString(context: Context): String

Resolves the string value using an Android Context.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int