Join Slack
Powered by
<@U0KFQLGN7>: You could have GetPokemonList's cons...
# kodein
s
salomonbrys
07/13/2016, 6:36 AM
@sargunv
: You could have GetPokemonList's constructor to get only a filter and a Kodein instance and have it retrieve it's dependencies. The bind would simply be:
bind() from factory { filter: PokemonFilter -> GetPokemonList(filter, this) }
Open in Slack
Previous
Next