SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
6.
A good architecture allows you to defer framework decisions. A
good architecture allows frameworks to act as plugins to the app.!
Robert Martin
“The database is a detail, a hardware detail. We would not
use one at all if all our data could fit in memory for ever”
7.
UI
External!
Interfaces
Db
Push
Network
Storage
Interfaces
Interfaces
Business
Model
Interactors
Interactors
8.
UI!
Layer
UI!
Layer
UI!
Data Model
Data
Mapper
Boundary
Interactor
Bussines!
Data Model
Data!
Storage
Test!
Storage
Data
Mapper
Data
Mapper
Storage!
Data Model
Test!
Data Model
9.
FeedViewModel
FeedBoundary
FeedListFragment
FeedProvider
GetFeed GetFeedImp
List<Hipster>
User!
DataSource!
Net
UserDataSourceLikeDataSource
Like!
DataSource!
Parse
API
UserApi
API
Retrofit!
api
Parse!
api