Any way to solve this incompatibility issues of ja...
# multiplatform
j
Any way to solve this incompatibility issues of java and kotlin?
a
It is not incompatibility. It is wrong API usage. Read through error please.
r
try
getOnUserFetched().invoke()
d
I think your function is written as
fun getOnUserFetched() = {}
You should write it as
fun getOnUserFetched(): Boolean {}
Could be at least