Skip to content

IBGTheme.Builder setters not available in Java due to clashes with autogenerated methods #493

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

Open
algrid opened this issue Feb 27, 2025 · 2 comments

Comments

@algrid
Copy link

algrid commented Feb 27, 2025

I have problems using IBGTheme.Builder in Java.
Here's what I get for setPrimaryColor for example:

Image

As far as I understand it's an autogenerated setter for var primaryColor: Int = 0 that is clashing with fun setPrimaryColor(@ColorInt color: Int): Builder defined in the same builder class.
Am I missing something, is there a way to instantiate the theme somehow in Java?

The SDK version that I'm using: 14.2.1

@AbanoubEdwar13
Copy link

@algrid thanks for your submission
we are aware of this issue and working on the fix

@algrid
Copy link
Author

algrid commented Feb 28, 2025

Good to know, thank you!

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

2 participants