I’ve created a custom view that is using data bind...
# android-databinding
d
I’ve created a custom view that is using data binding. When I use the custom view in a layout it works perfectly in a device, but I cannot manage to have a working layout preview. I always get the following exception:
ClassNotFoundException: androidx.databinding.DataBinderMapperImpl
any idea how to solve it?
I’ve already tried clean/rebuild/invalidate caches etc.
a
Usually this error means that you have an error in your layout file.