https://kotlinlang.org logo
#announcements
Title
# announcements
t

trevjones

09/22/2017, 4:23 PM
currently it looks something like
fun <T: Any> getStickyEvent(type: Class<T>): T?
you can make it reified
inline fun <reified T: Any> getStickyEvent(): T?
then you can use
T::class.java
as your replacement for the
type
argument you used before
🙃 1
m

morozov

09/22/2017, 4:27 PM
I'll still read it, because as long as I do not understand you)
2 Views