AttrStringResolver

data class AttrStringResolver(@AttrRes attrId: Int) : StringResolver

A StringResolver that resolves a String from a theme based on attrId.

Constructors

Link copied to clipboard
fun AttrStringResolver(@AttrRes attrId: Int)

Functions

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.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)