项目作者: tylersuehr7

项目描述 :
Recommendations for sufficiently clean architecture for local database storage and persistent storage.
高级语言: Java
项目地址: git://github.com/tylersuehr7/clean-architecture.git
创建时间: 2016-08-28T17:22:24Z
项目社区:https://github.com/tylersuehr7/clean-architecture

开源协议:MIT License

下载


Clean Android Architecture

An Android app that shows a sufficiently clean architecture for local database storage and persistent storage.

Architecture Overview

The application is split into three main packages: data, domain, and ui.

The data package includes objects that allow us to use local data storage. This uses a repository-style design pattern, but mainly is the Bridge design pattern, and contains appropriate objects to map local data returned from the repository to a model object. The repository uses the Command design pattern.

The domain package includes asynchronous tasks that can be used to execute requests on the repository, and is mainly all the business logic of the application.

The ui package contains everything needed to display views and allow the user to interact with the application; it uses the MVP design pattern.

Structure Diagram

Screenshots