Join Slack
Powered by
<https://twitter.com/kotlin/status/134935561391092...
# announcements
u
user
01/13/2021, 2:00 PM
https://twitter.com/kotlin/status/1349355613910925314
To “Kotlinify” a Java API that expects an instance of a class, you can add an extra function with a reified generic type parameter. The compiler can infer the generic argument instead of making you pass the class instance explicitly:
https://t.co/YKmgGr1cho
#KotlinTips
https://t.co/7ZgPyRgC6q
Twitter
Open in Slack
Previous
Next