文章标题

来源:互联网 发布:三三地方门户系统源码 编辑:程序博客网 时间:2024/06/07 00:13

点击上方蓝字关注码个蛋


你肯定喜欢


作者:阿韦爱Android

博客:http://www.jianshu.com/u/f408bdadacce

文章目录

  • Lottie

  • Toasty

  • StyleableToast

  • Store

  • PreviewSeekBar

  • Chuck

  • CoordinatorTabLayout

  • boxing

  • excelPanel

  • Horizontal Calendar

  • CameraFragment

  • AwesomeBar

  • ArcNavigationView

  • ShimmerRecyclerView

  • Android-SwitchIcon

  • CounterFab

  • FadingTextView

  • Bridge

  • Ason

  • ObjectBox

  • FlowLayout

  • 非官方的 Google Actions Java SDK

  • Wearable Reply

  • Shortbread

  • Material About


这是一份2017年1,2月份发布的25个最佳Android开源库的列表,你应该会喜欢,虽然是按顺序排列的,但排名不分先后。让我们开始吧!


1

Lottie

https://github.com/airbnb/lottie-android

这是一个能解析Adobe After Effects

http://www.adobe.com/products/aftereffects.html)动画导出的JSON文件并把它们渲染成本地动画的库。在Google Play Store

https://play.google.com/store/apps/details?id=com.airbnb.lottie)上有一个示例app。
github上超过7500颗星,应该不会错!


2

Toasty

https://github.com/GrenderG/Toasty

一个创建自定义Toast的库。正如作者所说,这个库是:The usual Toast, but with steroids.


3

StyleableToast

https://github.com/Muddz/StyleableToast

这是另外一个创建自定义Toast的库。
多个自定义选项让你的app和用户体验与众不同!用代码或者styles.xml去定义你的Toast样式。


4

Store

https://github.com/NYTimes/Store

Store是一个异步加载和缓存库。文档描述:
Store是一个简化数据的请求,解析,保存,以及数据重试的类。一个Store类似于 仓库模式(https://msdn.microsoft.com/en-us/library/ff649690.aspx) ,不过用RxJava封装成了响应式的API,以支持单向数据流 。
文档非常易懂,这个库值得尝试。你可以尝试各种flows,比如数据请求,缓存,解析等。


5

PreviewSeekBar

https://github.com/rubensousa/PreviewSeekBar

如果你使用Google Play Movies,你可能注意到了这个动画效果很棒,可以预览电影的SeekBar。 Rúben Sousa (https://medium.com/@rubensousa)实现了这种效果并开源。下面的gif图片很好的说明了其功能。如果你的app是一个播放器,你决定应该试试。


6

Chuck

https://github.com/jgilfelt/chuck

如果你使用 OkHttp

http://square.github.io/okhttp/)的话,这个库可以帮助你拦截并记录所有的HTTP请求与响应。它还提供了一个来显示内容。


7

CoordinatorTabLayout

https://github.com/hugeterry/CoordinatorTabLayout

CoordinatorTabLayout是一个自定义的组合控件,帮助你快速实现TabLayout与CoordinatorLayout相结合的样式。
效果见下面的gif图:


8

boxing

https://github.com/Bilibili/boxing

Boxing是一个基于MVP模式的Android多媒体选择器,你可以:图片选择(单/多选),预览或者剪裁图片。它还支持gif,视图选择,图片压缩以及自定义UI:



9

excelPanel

https://github.com/zhouchaoyuan/excelPanel

RecyclerView实现的二维表格,不仅可以加载历史数据,还能加载新数据。


10

Horizontal Calendar

https://github.com/Mulham-Raee/HorizontalCalendar

又一个用RecyclerView实现的Material横向日历视图。


11

CameraFragment

https://github.com/florent37/CameraFragment

一个集成了拍照功能的Fragment ,根据README:
CameraFragment直接预览camera视图,并提供简单的API来捕获或者管理设备。你可以使用CameraFragment设置自己的布局以及控制camera。


12

AwesomeBar

https://github.com/florent37/AwesomeBar

这是Florent Champigny

https://medium.com/@florentchampigny)的另一个很棒的库。一种 top bar 的新设计,与DrawerLayout一起协同工作。灵感来自Gmail Mobile from Weekz

https://material.uplabs.com/posts/gmail-mobile-concept)。


13

ArcNavigationView

https://github.com/rom4ek/ArcNavigationView

一个弧形的抽屉导航。


14

ShimmerRecyclerView

https://github.com/sharish/ShimmerRecyclerView

一个可以在加载数据的时候显示闪烁(Shimmer)的RecyclerView。这个RecyclerView内置一个adapter,控制shimmer的外观。


15

Android-SwitchIcon

https://github.com/zagum/Android-SwitchIcon

谷歌启动器风格的开关图标
这个lib继承AppCompatImageView,可以使用app:srcCompat属性为SwitchIconView设置任意图标(vector 或者 image)。


16

CounterFab

https://github.com/andremion/CounterFab

这是一个在浮动操作按钮的右上角显示数字标识的库。可以从Google Play上下载demo app

https://play.google.com/store/apps/details?id=com.andremion.counterfab.sample)。


17

FadingTextView

https://github.com/rosenpin/FadingTextView

一个可以让TextView以淡如淡出的形式不断改变自己内容的库。


18

Bridge

https://github.com/afollestad/bridge

Bridge是一个简单但是强大的HTTP网络操作库。提供链式调用的API,为了最大的兼容性和最快的速度,用 Java/Android的URLConnection类实现。
这个库文档非常齐全,绝对值得一试。


19

Ason

https://github.com/afollestad/ason

这是Aidan Follestad(https://twitter.com/afollestad)的第二个library。其主要目的是简化和JSON的交互。
also makes (de)serialization painless.
文档也是非常的棒,你可以在这里查看:https://github.com/afollestad/ason


20

ObjectBox

https://github.com/greenrobot/ObjectBox

大家都应该知道greenrobot(http://greenrobot.org/),不知道的话也应该知道他们开发的 GreenDAO (https://github.com/greenrobot/greenDAO

 EventBus

https://github.com/greenrobot/EventBus)。

这次要介绍的是一个面向对象的数据库。greenrobot宣称:
  性能是我们创建ObjectBox的首要因素。之前我们创建了安卓和SQLite上最快的对象关系映射 (ORM) greenDAO。自从2011年第一个版本发布以来,我们对对象持久化-以及SQLite的缺陷有了许多认识。我们意识到, 要显著提高移动端的性能,需要从内核开始,创建一个基于对象的数据库。


你可以在这里(http://greenrobot.org/announcement/introducing-objectbox-beta/)了解到更多。请注意目前ObjectBox还是测试版本(0.9.7)。


21

FlowLayout

https://github.com/nex3z/FlowLayout

一个让子view在空间不够的情况下自动跳到下一行的布局。子view之间的间隔由FlowLayout计算出来,以便让view是均匀分布的。

请注意这个库目前还处于早期阶段。


22

非官方的 Google Actions Java SDK

https://github.com/frogermcs/Google-Actions-Java-SDK

这是来自 Mirek Stanek

https://medium.com/@froger_mcs)的改版。因为官方的Google Actions SDK 是用Node.js写的,他用Java写了一个非官方的版本。根据README描述:
Google Actions Java SDK是基于Node.js的,但是没有一个镜像。这个库的目的是让他完全兼容Assistant平台的Conversational Protocol

https://developers.google.com/actions/reference/conversation)。


23

Wearable Reply

https://github.com/klinker24/wearable-reply

2017年2月9日谷歌发布了 Android Wear 2.0

https://android-developers.googleblog.com/2017/02/AndroidWear2.html)。
Luke Klinker (https://twitter.com/lukeklinker)发现缺乏一个API,并把它发布了出来,它
支持简单快速的文字输入,不管是来自语音,键盘,还是预设回复。


24

Shortbread

https://github.com/MatthiasRobbers/shortbread

这是一个这样的库
为使用了@Shortcut注解的Activity和方法生成app shortcuts

https://developer.android.com/guide/topics/ui/shortcuts.html)。无需动用manifest, XML以及shortcut manager。只需为想要shortcut调用的代码添加注释。
目前是1.0.0 版本。


25

Material About

这是一个帮助你实现关于我界面的库。


就是这些了。希望你能喜欢。



留言有福利,具体规则请看

帮你养成好习惯

原创粉丝点击