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

Java 调用setMinTime/setMaxTime/setThemeColor时报Ambiguous method call #4

Closed
carlgik4 opened this issue Sep 20, 2020 · 1 comment

Comments

@carlgik4
Copy link

Ambiguous method call. Both
setMinTime(long)
in Builder and
setMinTime(long)
in Builder match

Screenshot 2020-09-20 at 17 30 32

@loper7
Copy link
Owner

loper7 commented Sep 20, 2020

kotlin内变量在java中默认是非public的,需要注解@JvmField才可以开放给java调用。
感谢你的反馈,0.2.0版本已支持java使用

@loper7 loper7 closed this as completed Sep 21, 2020
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