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

Using loadContent() from Java without arguments #6

Open
jmnoguera opened this issue Jan 15, 2020 · 1 comment
Open

Using loadContent() from Java without arguments #6

jmnoguera opened this issue Jan 15, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jmnoguera
Copy link

In order to use loadContent() without arguments from Java as stated at the README.md, the function should include the @jvmoverloads annotation to take advantage of the default value.

fun loadContent(manufacturerId: String = DONT_KILL_MY_APP_DEFAULT_MANUFACTURER) : DokiApi {

@fennifith
Copy link
Contributor

hhhhhhh java interop bad

I'll add it in the next version... thanks for letting me know :P

@fennifith fennifith added the bug Something isn't working label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants