I tried adding `createdAtStart = true` to the `sin...
# koin
p
I tried adding
createdAtStart = true
to the
single
declaration but it still does not get created at startup.
h
I had some problems with a similar situation trying to get a ViewModel instance. I resolved using
getViewModel()
instead of
by viewModel
. I can be wrong but I remember that you can find a similar pattern for
by inject
. Try to use
get()
instead of
by inject
.