Resource

class Resource(val resId: Int, val args: Any) : UiText(source)

Coordinates Resource behavior in the SDAI core UI layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(resId: Int, vararg args: Any)

Properties

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

Exposes the resId value used by the SDAI core UI layer.

Functions

Link copied to clipboard
fun UiText.asString(context: Context): String
fun UiText.asString(resources: Resources): String

Executes the asString step in the SDAI core UI layer.

Renders the asString UI for the SDAI presentation layer.

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

Executes the equals step in the SDAI core UI layer.

Link copied to clipboard
open override fun hashCode(): Int

Executes the hashCode step in the SDAI core UI layer.