Skip to content

Commit

Permalink
fix: Typo in README.md (#1368)
Browse files Browse the repository at this point in the history
Fix the typing error in the Project Structure section

Fixes #1370
  • Loading branch information
kush-mish authored and iamareebjamal committed Oct 14, 2018
1 parent 2dd7008 commit 5994c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ We realize that MVP is opinionated and there is no strict boundary between the r
#### Project Structure

Generally, projects are created using package by layer approach where packages are names by layers like `ui`, `activity`, `fragment`, etc but it quickly becomes unscalable in large projects where large number of unrelated classes are crammed in one layer and it becomes difficult to navigate through them.
Instead, we follow package by feature, which at the cost of flatness of our project, provides us packages of isolated functioning related classes which are likely to be a complete self sufficient component of the application. Each package all related classes of view, presenter, their implementations like Activities anf Fragments.
Instead, we follow package by feature, which at the cost of flatness of our project, provides us packages of isolated functioning related classes which are likely to be a complete self sufficient component of the application. Each package all related classes of view, presenter, their implementations like Activities and Fragments.
A notable exception to this is the `common` module and data classes like Models and Repositories as they are used in a cross component way.
***Note:** The interface contract for Presenter and View is present in `contract` package in each module`*

Expand Down

0 comments on commit 5994c85

Please sign in to comment.