Join Slack
Powered by
-.kt
# announcements
p
Paul Woitaschek
10/30/2018, 3:29 PM
-.kt
-.kt
m
Mike
10/30/2018, 4:08 PM
Most use
apply
instead
Mike
10/30/2018, 4:09 PM
although your case is a bit ‘weird’ as you basically have an initialization function embedded in your definition… I think that would be better to have as an actual function or in the init, rather than being so ‘clever’ with the code.
d
Dico
10/30/2018, 4:38 PM
Just put
@Inject constructor
on a new line.
2
Views
Open in Slack
Previous
Next