DataBinding

interface DataBinding


DSL object for configuring databinding options.

Summary

Public properties

Boolean

Whether to add the default data binding adapters.

Boolean?

Whether to add the data binding KTX features.

Boolean

Whether to enable data binding.

Boolean

Whether to run data binding code generation for test projects.

String?

The version of data binding to use.

Public properties

addDefaultAdapters

val addDefaultAdaptersBoolean

Whether to add the default data binding adapters.

addKtx

val addKtxBoolean?

Whether to add the data binding KTX features. A null value means that the user hasn't specified any value in the DSL. The default value can be tweaked globally using the android.defaults.databinding.addKtx gradle property.

isEnabled

val isEnabledBoolean

Whether to enable data binding.

isEnabledForTests

val isEnabledForTestsBoolean

Whether to run data binding code generation for test projects.

version

val versionString?

The version of data binding to use.