Join Slack
Communities
Powered by
I'm having trouble with injection. I want to injec...
# tornadofx
p
pim
07/23/2017, 12:20 PM
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>()
.
Open in Slack
Previous
Next