New android databinding library

Hello! Android team published their databinding solution lately https://developer.android.com/tools/data-binding/guide.html

Do you have any plans to support it?
Seems it will quickly become a mainstream

Now i’m pretty sure it’s not working with setup:

  • AS 1.3 Preview 3
  • Kotlin 0.12.412
  • databinding 1.0-rc0
  • android gradle plugin 1.3.0-beta2

All i could find in logs is:

Execution failed for task ':app:dataBindingLayoutsProcessDebugResources'. [ERROR] [org.gradle.BuildExceptionReporter] > kotlin.KotlinPackage.indexOf(Ljava/lang/String;Ljava/lang/String;)I

Test project to reproduce:

https://github.com/dsvoronin/KotlinRxSandbox/tree/kotlin-databinding

edit: related bug https://youtrack.jetbrains.com/issue/KT-8007

Yes, we definitely have such plans.

Regarding the particular issue you’ve mentioned: we are looking for a workaround now.