DataBinding
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 add the data binding KTX features.  | 
        
| 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.
addKtx
abstract var addKtx: Boolean?
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.
isEnabledForTests
abstract var isEnabledForTests: Boolean
Whether to run data binding code generation for test projects.