博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
动脑2017android_您肯定要在2017年初尝试的25个新Android库
阅读量:2518 次
发布时间:2019-05-11

本文共 9510 字,大约阅读时间需要 31 分钟。

动脑2017android

by Michal Bialas

由Michal Bialas

您肯定要在2017年初试用的25个Android库 (25 Android libraries you definitely want to try out in early 2017)

This is a list of 25 best Android libraries released in January and February 2017. All of these are worth trying out — they are not in ranked order. Let’s get started!

这是2017年1月和2017年2月发布的25个最佳Android库的列表所有这些都值得尝试-排名不高。 让我们开始吧!

  1. This is a library that parses

    这是一个解析的库

    animations exported as JSON with (After Effects plugin for exporting animations to SVG/Canvas/HTML + JavaScript) and renders them natively on mobile.

    动画通过 (用于将动画导出到SVG / Canvas / HTML + JavaScript的After Effects插件)导出为JSON,并在移动设备上本地呈现。

    There is also an example app available in the

    还有一个示例应用程序

    .

    The more than 7,500 Github users who starred this library can not be wrong!

    为这个库加注星标的Github用户超过7500个,这是没有错的!

2. This is a library for creating customized Toasts. As the author described the lib, it is:

2. 这是一个用于创建自定义Toasts的库。 正如作者描述的lib一样,它是:

“The usual Toast, but with steroids.”

“通常的吐司,但带有类固醇。”

You can find screenshots and the link to the library below.

您可以在下面找到屏幕截图以及指向该库的链接。

3. This is another library for Toasts customization. It adds:

3. 这是另一个库Toasts定制。 它增加了:

“variety of styling options that gives your app and user experience that little extra unique feeling! Style your toast either by code or in styles.xml!”

“各种样式选项,使您的应用程序和用户体验几乎没有什么额外的独特感觉! 通过代码或在styles.xml中为烤面包添加样式!”

4. Store is a library for Async Data Loading and Caching. According to the documentation:

4. Store是用于异步数据加载和缓存的库。 根据文档:

“Store is a class that simplifies fetching, parsing, storage, and retrieval of data in your application. A Store is similar to the while exposing a Reactive API built with RxJava that adheres to a unidirectional data flow.”

“存储是一类,可简化应用程序中数据的获取,解析,存储和检索。 商店类似于同时公开了使用RxJava构建的Reactive API,该API遵守单向数据流。”

The documentation is really comprehensive and the lib is for sure worth trying. You can check many flows such as data requests, caching and parsing.

该文档真的很全面,lib肯定值得一试。 您可以检查许多流,例如数据请求,缓存和解析。

5. If you use Google Play Movies, you have probably noticed this great animated SeekBar with a preview of the movie. It turned out that implemented that as an open-source library. The gif below gives a good flavor of its functionalities. If your app is for instance a movie player, you should definitely try it!

5. 如果您使用Google Play电影,您可能已经注意到了带有动画预览的出色动画SeekBar 。 事实证明, 将其实现为一个开源库。 下面的gif很好地体现了其功能。 例如,如果您的应用是电影播放器​​,则一定要尝试!

6. If you use , this is the library that helps intercept and persist all HTTP requests and responses inside your application. It also provides a UI for inspecting their content.

6. 如果您使用 ,则该库可帮助拦截和持久保存应用程序内的所有HTTP请求和响应。 它还提供了一个用于检查其内容的UI。

7. CoordinatorTabLayout is a custom composite control that quickly implements the combination of TabLayout and CoordinatorLayout. You can check how it works on the gif below:

7. CoordinatorTabLayout是一个自定义的复合控件,可以快速实现TabLayoutCoordinatorLayout的组合。 您可以在以下gif上检查其工作方式:

8. Boxing is a multimedia selector and by using it you can:

8. 装箱是一种多媒体选择器,通过使用它,您可以:

  • do a selection of your images (single or multiple images)

    选择您的图像(单个或多个图像)
  • preview and crop images.

    预览和裁剪图像。

It also supports gifs, video selection, image compression and custom UI as shown in the screenshot below:

它还支持gif,视频选择,图像压缩和自定义UI,如下面的屏幕快照所示:

9. This is a two-dimensional RecyclerView. It can not only load historical data, but also load future data.

9. 这是一个二维的RecyclerView 。 它不仅可以加载历史数据,还可以加载将来的数据。

10. Another implementation for RecyclerView is dedicated to show Material horizontal Calendar View.

10. RecyclerView另一种实现专用于显示物料水平日历视图。

11. CameraFragment is an implementation of a Fragment which allows you to easily integrate a camera functionality to your app. According to its README:

11. CameraFragment是Fragment的实现,可让您轻松地将相机功能集成到您的应用程序中。 根据其自述文件

“CameraFragment previews directly the camera view, and provides an easy API to capture or manage the device. You can setup your own layout and control the camera using CameraFragment.”

“ CameraFragment直接预览相机视图,并提供一个简单的API来捕获或管理设备。 您可以设置自己的布局并使用CameraFragment控制摄像机。”

12. This is another great implementation from . It is new approach to a design of a top bar (which we know from ActionBar/Toolbar implementation), in conjunction with DrawerLayout, inspired by . You can check, how it works below:

12. 这是另一个出色实现。 这是一种新的顶部栏设计方法(我们从ActionBar/Toolbar实现中知道),并与DrawerLayout结合使用,该方法受DrawerLayout的 。 您可以在下面查看其工作方式:

13. This is an implementation of NavigationView from Android Design Support Library which introduces curved edges.

13. 这是Android设计支持库中NavigationView的实现,其中引入了弯曲的边缘。

14. It is a custom RecyclerView implementation with shimmer views to indicate that views are loading. The RecyclerView has also a built-in adapter, to control the shimmer appearance.

14. 这是一个自定义的RecyclerView实现,带有微光视图,指示正在加载视图。 RecyclerView还具有内置适配器,可控制微光的外观。

15.

15.

“A Google launcher-style implementation of switch (enable/disable) icon.”

“ Google启动器样式的开关(启用/禁用)图标实现。”

This library extends AppCompatImageView and allows you to set any icon (vector or image), to SwitchIconView using app:srcCompat attribute.

该库扩展了AppCompatImageView并允许您使用app:srcCompat属性将任何图标(矢量或图像)设置为SwitchIconView

16. This library is a FloatingActionButton subclass that shows a counter badge in the top right corner. You can download a from Google Play.

16. 该库是FloatingActionButton子类,在右上角显示计数器标志。 您可以从Google Play下载 。

17. This library allows you to make a TextView change its content automatically every few seconds.

17. 此库使您可以使TextView每隔几秒钟自动更改其内容。

18.

18.

“Bridge is a simple but powerful HTTP networking library for Android. It features a Fluent chainable API, powered by Java/Android’s URLConnection classes for maximum compatibility and speed.”

“ Bridge是用于Android的简单但功能强大的HTTP网络库。 它具有Fluent可链接的API,由Java / Android的URLConnection类提供支持,以实现最大的兼容性和速度。”

This library has a really comprehensive documentation and is definitely worth checking out.

这个库有一个非常全面的文档,绝对值得一试。

19. It is the second library from . Its main idea is to simplify an interaction with JSON. The library:

19. 这是的第二个图书馆。 其主要思想是简化与JSON的交互。 图书馆:

“also makes (de)serialization painless.”

“也使反序列化变得无痛。”

The documentation is also pretty good. You can check it out here:

该文档也很好。 您可以在这里查看:

20. I assume that majority of you knows . If not, they developed and . Now, this is time for a new database for objects focused on performance. As greenrobot claims,

20. 我假设你们大多数人都知道 。 如果没有,他们开发了和 。 现在,是时候建立一个新的数据库,用于关注性能的对象了。 正如greenrobot所说,

Performance is the number one reason why we created ObjectBox. Previously, we created greenDAO, the fastest Object/Relational Mapper (ORM) for Android and SQLite. Since its first release in 2011, we gained a lot of insight into object persistence — and the performance limitations imposed by SQLite. We realized that in order to improve performance on mobile significantly, we needed to go to the core and build a database designed for objects.”

性能是我们创建ObjectBox的第一原因。 之前,我们创建了greenDAO,这是适用于Android和SQLite的最快的对象/关系映射器(ORM)。 自2011年首次发布以来,我们对对象持久性和SQLite所施加的性能限制有了很多了解。 我们意识到,为了显着提高移动设备的性能,我们需要进入核心并建立一个为对象设计的数据库。”

You can read more about it . Please take into consideration that ObjectBox is currently in beta (version 0.9.7 ).

您可以了解更多信息。 请考虑到ObjectBox当前处于beta版本(0.9.7版)。

21. This library:

21. 该库:

“allows child views flow to next row when there is not enough space.

当空间不足时,允许子视图流向下一行。

“allows child views flow to next row when there is not enough space. The spacing between child views can be calculated by the FlowLayout so that the views are evenly placed.”

当空间不足时,允许子视图流向下一行。 子视图之间的间距可以通过FlowLayout进行计算,以使视图均匀放置。”

Please note that this is still in its early stages of development.

请注意,这仍处于发展的早期阶段。

22. This is a polish accent from . Because of the fact that the official Google Actions SDK is written in Node.js, he introduced his unofficial version written natively in Java. According to the README:

22. 这是口音。 由于官方的Google Actions SDK是用Node.js编写的,因此他介绍了他的非官方版本,它是用Java本机编写的。 根据自述文件:

“Google Actions Java SDK is built based on official Node.js library, but it’s not a mirror copy of it. The goal is to make it fully compatible with of Assistant Platform.”

“ Google Actions Java SDK是基于官方的Node.js库构建的,但不是其镜像副本。 目的是使其与助手平台的完全兼容。”

23. On 9th of February 2017 Google released a new . found a missing API and released the library for this OS. It:

23. 在2017年2月9日,Google发布了新的 。 发现缺少的API,并为此操作系统发布了该库。 它:

“allows for quick and easy text input, whether that is from your voice, a keyboard, or canned responses. The missing API is now available!”

“无论您是通过语音,键盘还是罐头回复,都可以快速,轻松地输入文本。 缺少的API现在可用!”

24. This is a library:

24. 这是一个库:

“generates for Activities and methods annotated with @Shortcut. No need to touch the manifest, create XML files or use the shortcut manager. Just annotate the code that you want the shortcut to call.”

“为带有@Shortcut注释的@Shortcut和方法生成 。 无需触摸清单,创建XML文件或使用快捷方式管理器。 只需注释您要调用快捷方式的代码即可。”

Currently, it’s at version 1.0.0.

当前,它的版本为1.0.0。

25. This library helps you to prepare an About Me screen to introduce you to your users.

25. 此库可帮助您准备“ 关于我”屏幕,以向您介绍用户。

That’s it. I hope you enjoyed my list. If you know any great library, which was released in January or February this year and I didn’t mention about it, please let me know in the comments.

而已。 我希望你喜欢我的清单。 如果您知道今年1月或2月发布的任何出色的库,但我没有提及,请在评论中让我知道。

If you like my article, please don’t forget to click ??? to recommend it to others ???.

如果您喜欢我的文章,请不要忘记单击???。 推荐给其他人???。

Also, to be notified about my new articles and stories, follow me on and . You can find me on as well. Cheers!

另外,要了解我的新文章和故事,请在和关注我。 您也可以在上找到我。 干杯!

翻译自:

动脑2017android

转载地址:http://xtgwd.baihongyu.com/

你可能感兴趣的文章
地鼠的困境SSL1333 最大匹配
查看>>
flume+elasticsearch+kibana遇到的坑
查看>>
【MM系列】在SAP里查看数据的方法
查看>>
C#——winform
查看>>
CSS3 transform制作的漂亮的滚动式导航
查看>>
《小强升职记——时间管理故事书》读书笔记
查看>>
Alpha 冲刺(3/10)
查看>>
Kaldi中的Chain模型
查看>>
spring中的ResourceBundleMessageSource使用和测试示例
查看>>
css规范 - bem
查看>>
电梯调度程序的UI设计
查看>>
转自 zera php中extends和implements的区别
查看>>
Array.of使用实例
查看>>
【Luogu】P2498拯救小云公主(spfa)
查看>>
如何获取网站icon
查看>>
几种排序写法
查看>>
java 多线程的应用场景
查看>>
dell support
查看>>
转:Maven项目编译后classes文件中没有dao的xml文件以及没有resources中的配置文件的问题解决...
查看>>
MTK android 设置里 "关于手机" 信息参数修改
查看>>