doubledotlabs / doki

An Android library that displays information from dontkillmyapp.com to users in a clean and presentable manner.
https://jitpack.io/#dev.doubledot/doki
MIT License
169 stars 16 forks source link

Using loadContent() from Java without arguments #6

Open jmnoguera opened 4 years ago

jmnoguera commented 4 years ago

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.

https://github.com/doubledotlabs/doki/blob/5441f829ad851fc86a15e127dab29f41c895face/library/src/main/java/dev/doubledot/doki/views/DokiContentView.kt#L305

fennifith commented 4 years ago

hhhhhhh java interop bad

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