paris-annotations / com.airbnb.paris.annotations / ParisConfig

ParisConfig

@Target([]) class ParisConfig

Constructors

<init>

ParisConfig(defaultStyleNameFormat: String, rClass: KClass<*>, namespacedResourcesEnabled: Boolean)

Properties

defaultStyleNameFormat

val defaultStyleNameFormat: String

namespacedResourcesEnabled

val namespacedResourcesEnabled: Boolean

This is an experimental gradle flag (android.namespacedRClass=true). Setting to true allows Paris to generate code compatible with R files that only have resources from the module the resource was declared in.

rClass

val rClass: KClass<*>