https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Joey

12/13/2019, 3:56 AM
Any way to solve this incompatibility issues of java and kotlin?
a

altavir

12/13/2019, 8:44 AM
It is not incompatibility. It is wrong API usage. Read through error please.
r

robstoll

12/13/2019, 11:18 AM
try
getOnUserFetched().invoke()
d

Dico

12/13/2019, 11:50 AM
I think your function is written as
fun getOnUserFetched() = {}
You should write it as
fun getOnUserFetched(): Boolean {}
Could be at least