I'm having trouble with injection. I want to injec...
# tornadofx
p
I'm having trouble with injection. I want to inject a ViewModel into a Fragment (following https://stackoverflow.com/questions/41198155/tornadofx-how-to-pass-parameter-to-fragment-on-every-instance) but when I call
find<type>
this exception is thrown:
java.lang.NoSuchMethodException: nl.x.y.z.ViewModel.<init>()
.