paris-annotations / com.airbnb.paris.annotations / Styleable

Styleable

@Target([AnnotationTarget.CLASS]) annotation class Styleable

Parameters

value - The name of the styleable resource.

emptyDefaultStyle - Set to true if the view does not have a default style. Will only be used if ParisConfig.namespacedResourcesEnabled is true. Default: false.

Constructors

<init>

Styleable(value: String = "", emptyDefaultStyle: Boolean = false)

Properties

emptyDefaultStyle

val emptyDefaultStyle: Boolean

Set to true if the view does not have a default style. Will only be used if ParisConfig.namespacedResourcesEnabled is true. Default: false.

value

val value: String

The name of the styleable resource.