but, the `Companion object` does not exist on `T`
# announcements
a
but, the
Companion object
does not exist on
T
d
Just leave out the receiver parameter:
inline fun <reified T : InjectedFragment> newInstance(...)
It's then called as
newInstance<FooBar>
r
Static extension functions are not possible, and classes in general don’t have companion objects to hold extensions.
👍 1