Hi, I'm sorry if the answer of my question is in t...
# announcements
r
Hi, I'm sorry if the answer of my question is in the documentation by I didn't manage to find it. I try to call a Kotlin function from a Java code but there seems to be an argument mismatch.
Copy code
fun foo(arg: Map<String, Any>) {}
This function cannot be called in Java with this code :
Copy code
Map<String, Object> map = new HashMap<>();
myKotlinObject.foo(map);
Does anybody knows how could I make this work ? Thank you very much !