After convert java files to kotlin
****/ data binding error ****msg:Cannot find the setter for attribute ‘app:adapter’ with parameter type dagger.Lazy<com.lanet.usercabinet.adapters.AdapterWithdrawal> on android.support.v7.widget.RecyclerView.
file:C:\Workspace\cabinet\app\src\main\res\layout\fragment_score_withdrawal.xml
I use dagger2+DataBinding+Kotlin
@Inject
lateinit var adapterWithdrawal: Lazy<AdapterWithdrawal>
@Bindable
fun getAdapterWithdrawal(): AdapterWithdrawal = adapterWithdrawal.get()
in xml for adapter
app:adapter="@{withdrawalVM.adapterWithdrawal}"
rebuild or clean or invalidecache does not help