android周报176期

本期周报发布于 2015 年10月25日 。 

源地址:http://androidweekly.net/issues/issue-176 

文章与教程

Android M:“Broadcast Tile” 是干嘛的? (medium.com)

blob.png

如果你花点时间在Android M的系统界面上,你会发现添加一个“Broadcast Tile”到快速设置的选项。这篇文章分享了一些关于如何利用它的代码样例。

Android 中MVP的基本架构 (medium.com)

又一篇讲述 Model-View-Presenter的文章。

Material ProgressBar (blog.stylingandroid.com)

Mark Allison实现了一个轻量级的可兼容低版本的 material ProgressBar 。

译文见:在5.0以前的版本上实现Material ProgressBar 

测试Geofencing API (medium.com)

blob.png

Etienne Lawlor发现目前缺少测试Geofencing API 工具。这里是关于他如何测试Geofencing API的文章。

What is all this Clean Architecture jibber-jabber about? (pguardiola.com)

作者讲述了他发明的一个新的架构:Catan Architecture。

通过Hardware Layer提升Android动画性能 (blog.danlew.net)

你的View可能在执行动画期间的每一帧都进行重绘,如果使用View Layer,可以避免重绘每一帧,因为View的渲染一旦进入离屏缓冲区就能够被复用。

译文地址:http://www.jianshu.com/p/f1feafffc365  

使用Design Support Library创建Material Design的app (www.code-labs.io)

新的Google CodeLab 带你在app中实现Material Design 。

谷歌地图不再需要存储权限 (medium.com)

从下一个 Google Play services sdks开始,谷歌地图api将彻底摆脱WRITE_EXTERNAL_STORAGE 权限。

Sustainable Android Tests with Page Objects (newcircle.com)

When writing tests for your application's user interface, you will quickly recognize that the same actions are often repeated multiple times. As is always the case in software development, we can address the problem of leaking implementation with another layer of abstraction called Page Objects.

Fabulous 的Material化 (androiduiux.com)

1445970510236502.png

在经历了264封邮件交流,200+展示模型,30+原型设计之后,Taylor Ling发布了一个新的app。这篇文章讲述了其中的一些过程。

RxJava高级用法: ConnectableObservables (一) (akarnokd.blogspot.com)

我们知道关于构造cold observable  (比如 range) 与hot observable (比如UnicastSubject) 的知识,但是到目前为止还没有专门关于如何在两者之间转换的知识。这篇文章讲述了这个过程。

安卓开发花絮 // 二 (willowtreeapps.com)

继续介绍安卓开发中的那些冷知识。

库与代码

Fontbinding (github.com)

blob.png

一个使用data binding在xml中自定义字体的完整例子,包括字体缓存。

FlowingDrawer (github.com)

一个弹性效果的抽屉菜单。

Lobsterpicker (github.com)

material design 颜色选择器。

工具

An IntelliJ / Android Studio plugin for WiFi connected devices (plus.google.com)

开源 IntelliJ / Android Studio插件,通过wifi(不需要连接USB)debug app。

ViewInspector (github.com)

ViewInspector 是一款可让 Android 开发者直接在应用内工具栏调试视图的插件