Resource

class Resource(@StringRes val resourceId: Int, val args: Any) : UiText

Represents an Android string resource ID with optional format arguments.

Constructors

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

Properties

Link copied to clipboard
val args: Array<out Any>
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