Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

databinding not generating #13

Open
lemcoder opened this issue Oct 22, 2022 · 0 comments
Open

databinding not generating #13

lemcoder opened this issue Oct 22, 2022 · 0 comments

Comments

@lemcoder
Copy link

lemcoder commented Oct 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant