虽然是个简单的 Android App,但是几乎囊括了多数很酷的 Android 库和开发方法,测试方法,相当赞的一个值得学习的项目。
具有MVP架构的Android示例应用程序
显示来自运球API的一些图像的示例项目。演示一些很酷的东西,你可以用现代的库和工具在Android中做这些天。
演示截图
图书馆
RxJava
匕首2与辅助注射的例子和不同的模块取决于建设类型
Retrofit 2和Retrofit Mock模式进行调试
带有View State支持的Mosby MVP
木材
自动值
用包装滑动
牛油刀
AssertJ流利断言
面料(Crashlytics和答案)
Retrolambda
Stetho
静态分析
PMD
Checkstyle
皮棉
Findbugs
Jacoco代码覆盖,可以生成单元测试,espresso测试或两者的组合的报告
一组自定义IDE检查规则
具有样本自定义lint规则的模块
测试
使用和不使用模拟Web服务器进行Espresso测试
模拟web服务器测试从json文件加载响应
热电试验
正常单元测试
Ok http拦截器在测试中更改基本url
闲置资源
其他
根据构建类型分离应用图标
用于拆分测试的一些高级源集配置
从Android Manifest和build.gradle中的属性文件加载一些项目配置
某些构建类型或测试的共享文件夹
工作proguard配置
Android Studio外部注释(https://www.jetbrains.com/help/i ... al-annotations.html)
@Nullable和@NonNull的包级别注释
OkHttp拦截器添加授权令牌到标题很容易
严格模式
用于在Playstore上发布应用的插件
Dex计数插件用于计数apk中的方法数
..和各种其他的好东西!在路线图上的东西的负载以及像:调试抽屉,适当的CI设置,屏幕截图自动化,移动到mixpanel,清洁架构等。
欢迎任何反馈/拉请求!你可以赶上我在www.sakiskaliakoudas.comAndroid示例应用程序与MVP架构
显示来自运球API的一些图像的示例项目。演示一些很酷的东西,你可以用现代的库和工具在Android中做这些天。
演示截图
图书馆
RxJava
匕首2与辅助注射的例子和不同的模块取决于建设类型
Retrofit 2和Retrofit Mock模式进行调试
带有View State支持的Mosby MVP
木材
自动值
用包装滑动
牛油刀
AssertJ流利断言
面料(Crashlytics和答案)
Retrolambda
Stetho
静态分析
PMD
Checkstyle
皮棉
Findbugs
Jacoco代码覆盖,可以生成单元测试,espresso测试或两者的组合的报告
一组自定义IDE检查规则
具有样本自定义lint规则的模块
测试
使用和不使用模拟Web服务器进行Espresso测试
模拟web服务器测试从json文件加载响应
热电试验
正常单元测试
Ok http拦截器在测试中更改基本url
闲置资源
其他
根据构建类型分离应用图标
用于拆分测试的一些高级源集配置
从Android Manifest和build.gradle中的属性文件加载一些项目配置
某些构建类型或测试的共享文件夹
工作proguard配置
Android Studio外部注释(https://www.jetbrains.com/help/i ... al-annotations.html)
@Nullable和@NonNull的包级别注释
OkHttp拦截器添加授权令牌到标题很容易
严格模式
用于在Playstore上发布应用的插件
Dex计数插件用于计数apk中的方法数
..和各种其他的好东西!在路线图上的东西的负载以及像:调试抽屉,适当的CI设置,屏幕截图自动化,移动到mixpanel,清洁架构等。
Android Sample app with MVP architectureSample project that displays some images from the dribble API. Demonstrates some cool stuff that you can do with the modern libraries and tooling in Android these days.  libraries- RxJava
- Dagger 2 with examples of assisted injection and different modules depending on build type
- Retrofit 2 and Retrofit Mock mode for debug builds
- Mosby MVP with View State support
- Timber
- Auto Value
- Glide with a wrapper
- Butterknife
- AssertJ for fluent assertions
- Fabric (Crashlytics and Answers)
- Retrolambda
- Stetho
Static analysis- PMD
- Checkstyle
- Lint
- Findbugs
- Jacoco code coverage that can generate reports for unit tests, espresso tests or the combination of the two
- A set of custom IDE inspection rules
- A module with a sample custom lint rule
Testing- Espresso tests with and without mock web server
- Mock web server tests that loads responses from json files
- Robolectric tests
- Normal unit tests
- Ok http interceptor for changing the base url in tests
- Idling resources
Other- Separate app icons according to build type
- Some advanced source sets configuration for splitting up tests
- Loading some project config from property files in Android Manifest and build.gradle
- Shared folders for some build types or tests
- Working proguard config
- Android Studio external annotations (https://www.jetbrains.com/help/idea/2016.3/external-annotations.html)
- Package level annotations for @Nullable and @NonNull
- OkHttp interceptor for adding auth token to headers easily
- Strict mode
- Plugin to publish app on the playstore
Dex count plugin for counting the number of methods in the apk ..and all sorts of other goodies! Loads of things on the roadmap as well like: A debug drawer, a proper CI setup, screenshot automation, move to mixpanel, clean architecture etc..
Any feedback/pull request is welcome! You can catch me at www.sakiskaliakoudas.com
下载地址:
..
|