- 时间:2021-03-02 16:18 编辑: 来源: 阅读:
- 扫一扫,手机访问
摘要:浅谈Android开发者2017年最值得关注的25个实用库
[b]2017年最值得关注的25个Android库[/b]
这是在2017年发布的25个最好的Android开发库的列表。所有这些都值得尝试 。 以下不是排名顺序。 让我们开始吧!
[b]1.Lottie[/b]
这个库能够解析 Adobe After Effects 并且把他们渲染到手机上。在Google应用市场上,也有相应的demo。这个库被超过7500github使用者关注。
Github链接:[url=https://github.com/airbnb/lottie-android]https://github.com/airbnb/lottie-android[/url]
[b]2.Toasty[/b]
这个库实现了定制的Toast,下面是截图和这个开发库的Github链接
[img]http://files.jb51.net/file_images/article/201709/201709260907091.jpg[/img]
github链接:[url=https://github.com/GrenderG/Toasty]https://github.com/GrenderG/Toasty[/url]
3. StyleableToast
这是Toast定制的另一个库。 文档介绍如下: “各种造型选项给您的应用和用户体验一点额外独特的感觉! 用代码或style.xml来调整您的Toast!“
[img]http://files.jb51.net/file_images/article/201709/201709260907092.jpg[/img]
Github链接:[url=https://github.com/Muddz/StyleableToast]https://github.com/Muddz/StyleableToast[/url]
[b]4. Store[/b]
Store是用于Async数据加载和缓存的库。 根据文件: “Store是简化在应用程序中获取,解析,存储和检索数据的类。 一个Store类似于Repository模式,同时暴露了一个遵循单向数据流的RxJava构建的Reactive API。“ 这些文档非常全面,这个库非常值得尝试。 您可以检查许多流,如数据请求,缓存和解析。
Github链接:[url=https://github.com/NYTimes/Store]https://github.com/NYTimes/Store[/url]
[b]5. PreviewSeekBar[/b]
如果您使用Google Play电影,您可能已经注意到了这个伟大的动画SeekBar,并预览了电影。 事实证明,RúbenSousa将其作为一个开源的库。 下面的gif可以很好的显示其功能。 如果你的应用程序是一个电影播放器,你一定要试试!
Github链接:[url=https://github.com/rubensousa/PreviewSeekBar]https://github.com/rubensousa/PreviewSeekBar[/url]
[b]6.Chuck[/b]
如果您使用OkHttp,那么这是一个库,可帮助您拦截并持久保留应用程序内的所有HTTP请求和响应。 它还提供了一个用于检查其内容的UI。
[img]http://files.jb51.net/file_images/article/201709/201709260907093.gif[/img]
Github链接:[url=https://github.com/jgilfelt/chuck]https://github.com/jgilfelt/chuck[/url]
[b]7. CoordinatorTabLayout[/b]
CoordinatorTabLayout是一个自定义组合控件,可快速实现TabLayout和CoordinatorLayout的组合。 您可以在下面的gif上检查它的工作原理:
[img]http://files.jb51.net/file_images/article/201709/201709260907104.gif[/img]
Github链接:[url=https://github.com/hugeterry/CoordinatorTabLayout]https://github.com/hugeterry/CoordinatorTabLayout[/url]
[b]8.boxing[/b]
boxing是多媒体选择器,通过使用它可以: 做一些选择您的图像(单个或多个图像) 预览和裁剪图像。 它还支持gif,视频选择,图像压缩和自定义UI,如下面的屏幕截图所示:
[img]http://files.jb51.net/file_images/article/201709/201709260907105.jpg[/img]
Github链接:[url=https://github.com/Bilibili/boxing]https://github.com/Bilibili/boxing[/url]
[b]9. excelPanel[/b]
这是一个二维RecyclerView。 它不仅可以加载历史数据,还可以加载未来的数据。
Github链接:[url=https://github.com/zhouchaoyuan/excelPanel]https://github.com/zhouchaoyuan/excelPanel[/url]
[b]10. Horizontal Calendar[/b]
RecyclerView的另一个实现是专门用于显示横向日历视图。
Github链接:[url=https://github.com/Mulham-Raee/HorizontalCalendar]https://github.com/Mulham-Raee/HorizontalCalendar[/url]
[b]11. CameraFragment[/b]
CameraFragment是Fragment的一个实现,它允许您轻松地将相机功能集成到您的应用程序中。 根据其README: “CameraFragment直接预览相机视图,并提供了一个简单的API来捕获或管理设备。 您可以使用CameraFragment设置自己的布局并控制相机。“
[img]http://files.jb51.net/file_images/article/201709/201709260907106.gif[/img]
Github链接:[url=https://github.com/florent37/CameraFragment]https://github.com/florent37/CameraFragment[/url]
[b]12. AwesomeBar[/b]
这是Florent Champigny的另一个伟大实现。 灵感来自于DrawerLayout的顶级酒吧(从ActionBar / Toolbar实现中知道)的设计是一种新的方法。它的工作原理如下:
[img]http://files.jb51.net/file_images/article/201709/201709260907107.gif[/img]
Github链接:[url=https://github.com/florent37/AwesomeBar]https://github.com/florent37/AwesomeBar[/url]
[b]13. ArcNavigationView[/b]
这是从Android设计支持库导入的NavigationView的实现,它引入了弯曲边。
[img]http://files.jb51.net/file_images/article/201709/201709260907118.jpg[/img]
Github链接:[url=https://github.com/rom4ek/ArcNavigationView]https://github.com/rom4ek/ArcNavigationView[/url]
[b]14. ShimmerRecyclerView[/b]
它是一个定制的RecyclerView实现,具有闪烁的视图,以指示视图正在加载。 RecyclerView还具有内置适配器,用于控制闪烁的外观。
[img]http://files.jb51.net/file_images/article/201709/201709260907119.gif[/img]
Github链接:[url=https://github.com/sharish/ShimmerRecyclerView]https://github.com/sharish/ShimmerRecyclerView[/url]
[b]15.Android-SwitchIcon[/b]
“Google启动器式实现开关(启用/禁用)图标”。 该库扩展了AppCompatImageView,并允许您使用app:srcCompat属性将任何图标(向量或图像)设置为SwitchIconView。
[img]http://files.jb51.net/file_images/article/201709/2017092609071110.gif[/img]
Github链接:[url=https://github.com/zagum/Android-SwitchIcon]https://github.com/zagum/Android-SwitchIcon[/url]
[b]16. CounterFab[/b]
该库是一个FloatingActionButton子类,显示右上角的计数器徽章。 您可以从Google Play下载演示应用程序。
[img]http://files.jb51.net/file_images/article/201709/2017092609071111.gif[/img]
Github链接:[url=https://github.com/andremion/CounterFab]https://github.com/andremion/CounterFab[/url]
[b]17. FadingTextView[/b]
此库允许您每隔几秒自动更改TextView的内容。
[img]http://files.jb51.net/file_images/article/201709/2017092609071112.gif[/img]
Github链接:[url=https://github.com/rosenpin/FadingTextView]https://github.com/rosenpin/FadingTextView[/url]
[b]18. Bridge[/b]
“Bridge是Android的简单而强大的HTTP网络库。 它具有流畅的可链接API,由Java / Android的URLConnection类提供支持,以实现最大的兼容性和速度。 这个图书馆有一个非常全面的文件,绝对值得一试。
Github链接:[url=https://github.com/afollestad/bridge]https://github.com/afollestad/bridge[/url]
[b]19. Ason[/b]
这是Aidan Follestad的第二个库。 其主要思想是简化与JSON的交互。
你可以在这里查看:
Github链接:[url=https://github.com/afollestad/bridge]https://github.com/afollestad/ason[/url]
[b]20. ObjectBox[/b]
我假设大多数人都知道greenrobot。 如果没有,他们开发了GreenDAO和EventBus。 现在,这是一个专注于性能的对象的新数据库的时候了。 如greenrobot所称, “性能是我们创建ObjectBox的第一个原因。 之前,我们创建了greenDAO,这是Android和SQLite中最快的对象/关系映射器(ORM)。 自2011年第一次发布以来,我们获得了很多洞察对象持久性以及SQLite强加的性能限制。 我们意识到,为了显着提高移动性能,我们需要去核心并构建一个为对象设计的数据库。“
Github链接:[url=https://github.com/greenrobot/ObjectBox]https://github.com/greenrobot/ObjectBox[/url]
[b]21. FlowLayout[/b]
“当没有足够的空间时,允许子视图流到下一行。 子视图之间的间距可以由FlowLayout计算,以便视图均匀放置。
[img]http://files.jb51.net/file_images/article/201709/2017092609071213.jpg[/img]
Github链接:[url=https://github.com/nex3z/FlowLayout]https://github.com/nex3z/FlowLayout[/url]
[b]22. Unofficial Google Actions Java SDK[/b]
这是Mirek Stanek的波兰风。 由于官方Google Actions SDK是用Node.js编写的,所以他介绍了他在Java中本机编写的非官方版本。 根据README: “Google Actions Java SDK是基于官方Node.js库构建的,但它不是镜像副本。 目标是使其完全符合助理平台对话协议。“
Github链接:[url=https://github.com/frogermcs/Google-Actions-Java-SDK]https://github.com/frogermcs/Google-Actions-Java-SDK[/url]
[b]23.. Wearable Reply[/b]
2017年2月9日,Google发布了新的Android Wear 2.0。 Luke Klinker发现了一个缺少的API,并发布了这个操作系统的库。 它: “允许快速简单的文本输入,无论是来自您的声音,键盘还是响应。 缺少的API现在可用!
[img]http://files.jb51.net/file_images/article/201709/2017092609071214.jpg[/img]
Github链接:[url=https://github.com/klinker24/wearable-reply]https://github.com/klinker24/wearable-reply[/url]
[b]24.Shortbread[/b]
“生成活动的应用程序快捷方式和使用@Shortcut注释的方法。 无需触摸清单,创建XML文件或使用快捷方式管理器。 只需注释您想要快捷方式调用的代码。“ 目前,它的版本为1.0.0。
[img]http://files.jb51.net/file_images/article/201709/2017092609071215.jpg[/img]
Github链接:[url=https://github.com/MatthiasRobbers/shortbread]https://github.com/MatthiasRobbers/shortbread[/url]
[b]25. Material About[/b]
一个封装的关于介绍我页面的库
[img]http://files.jb51.net/file_images/article/201709/2017092609071216.jpg[/img]
Github链接:[url=https://github.com/jrvansuita/MaterialAbout]https://github.com/jrvansuita/MaterialAbout[/url]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程素材网。