阿里云服务器免费领卷啦。

捡代码论坛-最全的游戏源码下载技术网站!

 找回密码
 立 即 注 册

QQ登录

只需一步,快速开始

搜索
关于源码区的附件失效或欺骗帖, 处理办法
查看: 4737|回复: 2

[安卓,android源码] 囊括了多数很酷的 Android 库和开发方法

[复制链接]

4208

主题

210

回帖

12万

积分

管理员

管理员

Rank: 9Rank: 9Rank: 9

积分
126171
QQ
发表于 2017-2-13 14:53:50 | 显示全部楼层 |阅读模式
虽然是个简单的 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 architecture

Sample 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


下载地址:



游客,如果您要查看本帖隐藏内容请回复

..


捡代码论坛-最全的游戏源码下载技术网站! - 论坛版权郑重声明:
1、本主题所有言论和图片纯属会员个人意见,与本论坛立场无关
2、本站所有主题由该帖子作者发表,该帖子作者与捡代码论坛-最全的游戏源码下载技术网站!享有帖子相关版权
3、捡代码论坛版权,详细了解请点击。
4、本站所有内容均由互联网收集整理、网友上传,并且以计算机技术研究交流为目的,仅供大家参考、学习,不存在任何商业目的与商业用途。
5、若您需要商业运营或用于其他商业活动,请您购买正版授权并合法使用。 我们不承担任何技术及版权问题,且不对任何资源负法律责任。
6、如无法链接失效或侵犯版权,请给我们来信:jiandaima@foxmail.com

回复

使用道具 举报

0

主题

23

回帖

135

积分

注册会员

Rank: 2

积分
135
发表于 2020-6-2 18:27:17 | 显示全部楼层
登录可见评论
回复

使用道具 举报

0

主题

6

回帖

52

积分

注册会员

Rank: 2

积分
52
发表于 2020-6-13 10:12:50 | 显示全部楼层
登录可见评论
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立 即 注 册

本版积分规则

技术支持
在线咨询
QQ咨询
3351529868

QQ|手机版|小黑屋|捡代码论坛-专业源码分享下载 ( 陕ICP备15015195号-1|网站地图

GMT+8, 2024-4-25 23:04

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表