StaticStringResolver

data class StaticStringResolver(value: Any) : StringResolver

A StringResolver that can represent any object based on its toString implementation.

Constructors

Link copied to clipboard
fun StaticStringResolver(value: Any)

Types

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

Functions

Link copied to clipboard
open override fun describeContents(): Int
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 writeToParcel(parcel: Parcel, flags: Int)