[Solved] Bindingadapter error and needs to be static

Caused by: java.lang.IllegalStateException: Required DataBindingComponent is null in class ActivityMainBindingImpl.
 

 

Solution:

Add @JvmStatic

Read More: