android10 / Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.
Apache License 2.0
15.52k stars 3.32k forks source link

Any example of package by feature? #232

Open nilsi opened 7 years ago

nilsi commented 7 years ago

Hi,

As of my understanding theres another branch in the repo refactor-project-structure that aims for one module instead of three. Does it also implement package by feature? Having some problems wrapping my head around it.

What Im looking for is a clean architecture example that package by feature. Structured something like this: https://hackernoon.com/package-by-features-not-layers-2d076df1964d

It looks very intuitive to me, love the readability.

Thanks

lenguyenthanh commented 7 years ago

you may look at: https://github.com/android10/Android-CleanArchitecture/tree/core/refactor-project-structure and https://github.com/android10/Android-CleanArchitecture/pull/103

nilsi commented 7 years ago

Thanks, I looked at that before. Package by feature should "scream" the intent of the application and not the tools/frameworks used. That branch seems to have a mix between package by layer and by feature or I didn't understood the code there properly.

I found this project that looks pretty much like what I had in mind: https://github.com/esoxjem/MovieGuide