p
-.kt
m
Most use
apply
instead
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
Just put
@Inject constructor
on a new line.