bufferapp / clean-architecture-components-boilerplate

A fork of our clean architecture boilerplate, this time using the Android Architecture Components
MIT License
1.28k stars 178 forks source link

Decoupling mobile-ui #16

Closed ech0s7r closed 6 years ago

ech0s7r commented 6 years ago

https://github.com/bufferapp/clean-architecture-components-boilerplate/blob/15838f22b1acea74fbfbdb7612e8ed3cc38b3abc/mobile-ui/build.gradle#L67

The module mobile-ui should depend only on the module presentation and not on all the modules.

hitherejoe commented 6 years ago

You would need to abstract out the dependency injection logic for this - which IMO would be overcomplicating things. This would be a per project decision