I have following fragment class written in Java using the new databinding library
import com.example.app.databinding.FragmentDataBdinding; public class Data
I want to share my own expirience. To use data databinding with Kotlin in android studio is enough to add
dataBinding { enabled = true }
After that "sync it" and, it's very important, to "make Project". After that all your object will be active to use.