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
Issue using Kotlin BindingAdapters #16
Labels
bug
Something isn't working
Comments
arunkumar9t2
pushed a commit
that referenced
this issue
Jan 25, 2022
…nding-adapter-bridge Support cases where `@BindingAdapter` is statically declared in a class that uses generic in its type params. This change fix code generation to not generate generic information in generated code generics for static access is invalid in Java/Kotlin. Fixes #16
arunkumar9t2
pushed a commit
that referenced
this issue
Jan 25, 2022
…nding-adapter-bridge Support cases where `@BindingAdapter` is statically declared in a class that uses generic in its type params. This change fixes code generation to not generate generic information in generated code for those classes since static access is invalid in Java/Kotlin. Fixes #16
Thanks for sharing repro sample, I managed to fix this in #17. There were 3 issues causing the build to fail.
I fixed the build and created a PR here pswaminathan/bazel-kt-databinding-crash#7 |
arunkumar9t2
added a commit
that referenced
this issue
Jan 26, 2022
…nding-adapter-bridge (#17) Support cases where `@BindingAdapter` is statically declared in a class that uses generic in its type params. This change fixes code generation to not generate generic information in generated code for those classes since static access is invalid in Java/Kotlin. Fixes #16
akshay-grabtaxi
pushed a commit
that referenced
this issue
Jun 28, 2023
…nding-adapter-bridge (#17) Support cases where `@BindingAdapter` is statically declared in a class that uses generic in its type params. This change fixes code generation to not generate generic information in generated code for those classes since static access is invalid in Java/Kotlin. Fixes #16
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample code here. Without this change, the project builds. Looks like there are two things:
Build output:
The text was updated successfully, but these errors were encountered: