JuulLabs / stropping

Stropping performs reflection on Dagger to make instrumented testing easier.
Apache License 2.0
4 stars 1 forks source link

DaggerAndroid integration and Kodein-mapping should be separated #4

Open cedrickcooke opened 4 years ago

cedrickcooke commented 4 years ago

We should create an engine module which describes the interface for mapping Dagger into a separate DI framework. Then the android module can depend on the engine. Kodein would be provided as a default engine implementation, or we could make our own DI w/ just the feature set we support.

cedrickcooke commented 4 years ago

Taking a variant of this on in the cedrickc/rearchitect branch. It abandons modules for now, but does add the "engine" logic that would be required to support an alternative DI.

cedrickcooke commented 4 years ago

See #12 for ^^.