https://kotlinlang.org logo
#kodein
Title
a

Andreas Sinz

02/12/2017, 9:26 AM
@wfisher then you can use Tagged bindings https://salomonbrys.github.io/Kodein/#_tagged_bindings like
bind<Graph>("NewYork") by singleton { }; bind<TrafficUpdater>("NY") by singleton { TrafficUpdater(instance<Graph>("NewYork") }