How to declare it using Koin constructor DSL? My c...
# koin
p
How to declare it using Koin constructor DSL? My concern is about tracker initialization as below.
Copy code
scoped<MagicPresenter> { (view: MagicView) ->
    PresenterImpl(
        view = view,
        tracker = get(trackerConfig.qualifier) { parametersOf(trackerConfig) }
    )
} bind MagicPresenter::class
1
Can we figure out it using constructor DSL, @arnaud.giuliani?
a
really manual here, constructor DSL won't help much 😕
p
Hummm. And did you know how can I test it using new verify API (to check constructor parameters)?
a
problem here is the dynamic behavior, passing params