ResourceStringResolver

class ResourceStringResolver : StringResolver

A StringResolver that resolves a String from resources. formatArguments that are StringResolvers will be automatically resolved as well.

Constructors

Link copied to clipboard
fun ResourceStringResolver(@StringRes resourceId: Int, vararg formatArguments: Any)

Types

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

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)