Companion

object Companion

Functions

Link copied to clipboard
inline fun <E : Enum<E>> fromEnum(value: E): TypedValue

Creates a TypedValue from an enum.

fun <E : Enum<E>> fromEnum(value: E, kClass: KClass<E>): TypedValue

Creates a TypedValue from an enum with explicit KClass.

Link copied to clipboard

Creates a TypedValue from a string.