DataBinding

@Incubating interface DataBinding
com.android.build.api.dsl.DataBinding

DSL object for configuring databinding options.

Summary

Properties

abstract Boolean

Whether to add the default data binding adapters.

abstract Boolean

Whether to enable data binding.

abstract Boolean

Whether to run data binding code generation for test projects.

abstract String?

The version of data binding to use.

Properties

addDefaultAdapters

abstract var addDefaultAdapters: Boolean

Whether to add the default data binding adapters.

isEnabled

abstract var isEnabled: Boolean

Deprecated.

Whether to enable data binding.

isEnabledForTests

abstract var isEnabledForTests: Boolean

Whether to run data binding code generation for test projects.

version

abstract var version: String?

The version of data binding to use.