-
Notifications
You must be signed in to change notification settings - Fork 728
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
Data Binding Compiler V2 #466
Comments
I think it should be possible for Epoxy to support the new compiler, but I haven't looked into it extensively yet. It seems like the generated binding classes are now created by the gradle plugin instead of via an annotation processor. As long as they are available to be looked up in the annotation processor it should be fine, but I probably don't have time to investigate this right now, at least until the new compiler is stable. If anyone else wants to look into this I can help with guidance |
Thanks for the answer. I've looked into this a bit today and it looks like all that is needed to make this work is a define in gradle.properties. The define being If anyone is interested in using the new compiler in their own project until it is actually stable and added to Epoxy, here are the steps:
I have not extensively tested this, but it seems to work just fine for as far as I can see. |
Good to hear, thanks for the update! It sounds like once the new compiler is officially enabled as the default it will work just fine with Epoxy with no changes. I'll just have to make sure this project is updated to the latest AGP version once 3.2 is released |
As can be seen right here, Android Studio 3.1 supports the Data Binding Compiler V2.
When testing Epoxy with this new compiler, the build fails saying "error: cannot find symbol class DataBinderMapperImpl".
Is it possible for a future version of Epoxy to support this new compiler?
The text was updated successfully, but these errors were encountered: