MVVMTodo icon indicating copy to clipboard operation
MVVMTodo copied to clipboard

databinding not generating

Open lemcoder opened this issue 2 years ago • 0 comments

Hello!

Due to changes in newer versions of databinding the binding classes are not generating correctly

To fix this issue we need to wrap each layout file with tag like following:

<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    
    // ... layout markup here
    
</layout>

More info: https://developer.android.com/topic/libraries/data-binding/expressions

lemcoder avatar Oct 22 '22 02:10 lemcoder