Kotlin-android: unresolved reference databinding

后端 未结 16 1125
借酒劲吻你
借酒劲吻你 2020-12-02 16:23

I have following fragment class written in Java using the new databinding library

import com.example.app.databinding.FragmentDataBdinding;

public class Data         


        
16条回答
  •  孤街浪徒
    2020-12-02 16:48

    In my case, the error was Unresolved reference: RegisterationUserBinding I just used my layout name fragment_registeration_user like this FragmentRegisterationUserBinding and made it in the Databinding layout and the error went away.

提交回复
热议问题