Join Slack
Powered by
what is the kotlin-native equivent to ::class.java...
# announcements
s
Smallville7123
04/14/2019, 4:31 PM
what is the kotlin-native equivent to ::class.java.newInstance
o
orangy
04/14/2019, 5:05 PM
There is no reflection in
#C3SGXARS6
, so best you can do I think is pass around a factory.
s
Smallville7123
04/14/2019, 5:13 PM
oh ;-;
g
gildor
04/15/2019, 6:02 AM
I believe this is also a better solution for JVM than use unsafe
newInstance
and do some assumption about class construcotrs
👆 1
2
Views
Open in Slack
Previous
Next