Join Slack
Powered by
is there any way to declare a static (i know there...
# announcements
t
thana
07/05/2019, 8:13 AM
is there any way to declare a static (i know there is no static) extension property?
thana
07/05/2019, 8:14 AM
Ahh
val SomeClass.Companion.property
does the trick
k
karelpeeters
07/05/2019, 8:14 AM
You can define an extension property on the companion object.
karelpeeters
07/05/2019, 8:14 AM
That was fast
simple smile
t
thana
07/05/2019, 8:15 AM
yep, all of a sudden this idea popped up 😄
Open in Slack
Previous
Next