ResValue.Key

Added in 7.0.0

interface ResValue.Key : Serializable


a generated resource is identified by its type+name as you can create

/foo and @dimen/foo,

To create instances of Key, use Variant.makeResValueKey function. This interface should not be extended by third party plugin or build scripts.

Summary

Public properties

String

name of the resource.

String

type of the resource like 'string'

Public properties

name

Added in 7.0.0
val nameString

name of the resource.

type

Added in 7.0.0
val typeString

type of the resource like 'string'