This message was deleted.
# helpdesk
s
This message was deleted.
m
I believe so. cc @eager-raincoat-52616 to be sure
f
@eager-raincoat-52616 I tried but not all functions were available to use in java , I think only instances can be passed but functions can't be used in a java file.
e
sorry, you’ll have to use kotlin due to the coroutine functions we expose
f
@eager-raincoat-52616 Can I write a wrapper in kotlin and then use that in my java code, would that work? It's a large code base that I'm working on (has an MVVM architecture). Manager classes are invoked then a connector instance is created which then creates the room object.
e
sure, kotlin can live alongside java code. alternatively, there may be coroutine converters available to change it to the async library of your choice. for example, there’s a converter for rxjava: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-rx2/
f
Alright, Thanks! will try that👍