How should i handle dependency injection of my own...
# tornadofx
a
How should i handle dependency injection of my own library classes in controllers? Right now i extend my library class like so:
UtilsExampleClass : Component(), ScopedInstance
and then just do
val utilsExample: UtilsExampleClass by inject()
in my controller. I am not sure if this is the proper way to do it so any suggestions would help a lot