Android-CleanArchitecture [![Build Status](https://travis-ci.org/android10/Android-CleanArchitecture.svg?branch=master)](https://travis-ci.org/android10/Android-CleanArchitecture)
=========================
This is a sample app that is part of a blog post I have written about how to architect android application using the Uncle Bob's clean architecture approach.
[Here is the blog post](http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/)
[Here is a demo video](http://youtu.be/XSjV4sG3ni0)
Local Development
-----------------
Here are some useful Gradle/adb commands for executing this example:
* `gradlew clean build` - Build the entire example and execute unit and integration tests plus lint check.
* `gradlew installDebug` - Install the debug apk in the current connected device.
* `gradlew test` - Execute domain and data layer tests (both unit and integration)
* `gradlew connectedAndroidTest` - Execute espresso and instrumentation function tests.
License
--------
Copyright 2014 Fernando Cejas
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
![http://www.fernandocejas.com](http://www.android10.org/myimages/android10_logo_big_github.png)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Android--CleanArchitecture-brightgreen.svg?style=flat)](https://android-arsenal.com/details/3/909)
没有合适的资源?快使用搜索试试~ 我知道了~
更清晰的Android应用架构-MVP(源码v0.5.0 +UML分析图)
共408个文件
class:150个
xml:110个
java:76个
5星 · 超过95%的资源 需积分: 50 178 下载量 175 浏览量
2016-03-27
22:37:54
上传
评论 12
收藏 5.62MB ZIP 举报
温馨提示
原作者链接:https://github.com/android10/Android-CleanArchitecture/releases 我下载的v0.5.0版,其它版本原作者在里边使用了Dagger 2注解框架,如果你没有使用过dagger 2, 当你在看源码的时候可能很茫然(比如说我) 我用UML的形式分析了下作者的这个源码(v0.5.0版)并把UML图打包上传在这里,希望能帮助你快速阅读
资源推荐
资源详情
资源评论
收起资源包目录
更清晰的Android应用架构-MVP(源码v0.5.0 +UML分析图) (408个子文件)
data-debug.aar 29KB
data-release.aar 29KB
resources-debug.ap_ 25KB
resources-debug-androidTest.ap_ 820B
resources-debug-androidTest.ap_ 801B
gradlew.bat 2KB
fileSnapshots.bin 118KB
taskArtifacts.bin 59KB
fileHashes.bin 34KB
outputFileStates.bin 21KB
UserListFragment.class 9KB
UserDetailsFragment.class 9KB
UserCacheImpl.class 6KB
UserCacheImpl.class 6KB
AutoLoadImageView.class 6KB
UserListPresenter.class 5KB
UserDetailsPresenter.class 5KB
RestApiImpl.class 4KB
RestApiImpl.class 4KB
GetUserListUseCaseImpl.class 4KB
UserDataRepository.class 4KB
UserDataRepository.class 4KB
GetUserDetailsUseCaseImpl.class 4KB
UserDetailsActivityTest.class 4KB
FileManager.class 4KB
FileManager.class 4KB
UsersAdapter.class 4KB
ApiConnection.class 3KB
ApiConnection.class 3KB
CloudUserDataStore.class 3KB
CloudUserDataStore.class 3KB
UserModelDataMapperTest.class 3KB
UserDetailsPresenterTest.class 3KB
UserListPresenterTest.class 3KB
UserDataRepository$2.class 3KB
UserDataRepository$2.class 3KB
UserListActivityTest.class 3KB
AutoLoadImageView$DiskCache.class 3KB
UserDataRepository$1.class 3KB
UserDataRepository$1.class 3KB
AutoLoadImageView$1.class 3KB
UserDataStoreFactory.class 3KB
UserDataStoreFactory.class 3KB
UserEntity.class 3KB
UserEntity.class 3KB
UserModelDataMapper.class 2KB
UserDetailsActivity.class 2KB
UserEntityDataMapper.class 2KB
UserEntityDataMapper.class 2KB
UserModel.class 2KB
DiskUserDataStore.class 2KB
DiskUserDataStore.class 2KB
User.class 2KB
UserEntityJsonMapper.class 2KB
UserEntityJsonMapper.class 2KB
AutoLoadImageView$1$1.class 2KB
JobExecutor.class 2KB
JobExecutor.class 2KB
CloudUserDataStore$2.class 2KB
CloudUserDataStore$2.class 2KB
AutoLoadImageView$ImageDownloader.class 2KB
MainActivity.class 2KB
UserListActivity.class 2KB
CloudUserDataStore$1.class 2KB
CloudUserDataStore$1.class 2KB
UserListFragment$2.class 2KB
DiskUserDataStore$1.class 2KB
DiskUserDataStore$1.class 2KB
UserListPresenter$1.class 2KB
GetUserListUseCaseImpl$1.class 2KB
UserDetailsPresenter$1.class 2KB
ErrorMessageFactoryTest.class 2KB
GetUserDetailsUseCaseImpl$1.class 2KB
GetUserDetailsUseCaseImpl$3.class 2KB
GetUserDetailsUseCaseImpl$2.class 1KB
GetUserListUseCaseImpl$3.class 1KB
GetUserListUseCaseImpl$2.class 1KB
UIThread.class 1KB
Navigator.class 1KB
JsonSerializer.class 1KB
JsonSerializer.class 1KB
ErrorMessageFactory.class 1KB
UserCacheImpl$CacheWriter.class 1KB
UserCacheImpl$CacheWriter.class 1KB
AutoLoadImageView$3.class 1KB
AutoLoadImageView$2.class 1KB
UserDetailsFragment$1.class 1KB
R$string.class 1KB
UserListFragment$1.class 1010B
BaseFragment.class 997B
UserEntityJsonMapper$1.class 984B
UserEntityJsonMapper$1.class 984B
MainActivity$1.class 983B
UserEntityJsonMapper$2.class 981B
UserEntityJsonMapper$2.class 981B
BaseActivity.class 971B
UserCacheImpl$CacheEvictor.class 968B
UserCacheImpl$CacheEvictor.class 968B
RepositoryErrorBundle.class 941B
RepositoryErrorBundle.class 941B
共 408 条
- 1
- 2
- 3
- 4
- 5
资源评论
- anxinjia2016-08-18不是我需要的!
- AlphaCatMeow2016-05-12不错,学到了东西
j610622106
- 粉丝: 5
- 资源: 50
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功