android技术选型(持续更新中...)

发布时间:2019-08-06 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了android技术选型(持续更新中...)脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

LOG打印

https://www.zybuluo.com/shark...

提示性UI

toast:

Toasty : https://github.com/hss01248/T...
带有状态的toast,有succes.error,warn,info,normal 五种,以及debug一种(只在debug模式下弹出).

dialog :

DialogUtil : https://github.com/hss01248/D...
囊括所有常见的通用型dialog,既有ios风格又有android风格.不需要activITy引用即可弹出.
https://github.com/saiwu-bigk... ios风格的dialog

notification

NotifyUtil: https://github.com/hss01248/N...
api链式调用,摆脱原生的难用的api.封装了常用的通知模式.

必用的UI小组件

选择器:

https://github.com/Bigkoo/And...

内置时间日期选择器,UI自定义配置很丰富
还有三级,二级,一级联动选择器

https://github.com/gzu-liyuji...

各种丰富的内置选择器:
包括日期选择器、时间选择器、单项选择器、城市地址选择器、车牌号选择器、数字选择器、星座选择器、生肖选择器、颜色选择器、文件选择器、目录选择器等

https://github.com/yangxu4536...
仿美团城市选择界面,可直接用在实际项目中

https://github.com/Bigkoo/Eas...
一款按字母排序库,已封装好城市数据,风格仿美团,可定制化强。

多条件筛选菜单

https://github.com/dongjunkun...
类似美团,爱奇艺电影票下拉菜单

优惠券效果

https://github.com/dongjunkun...

轮播图

https://github.com/glassLake/... 第一次进入有快速滚动两张的bug

https://github.com/saiwu-bigk...

https://github.com/youth52013...
多种模式 AndROId广告图片轮播控件,支持无限循环和多种主题,可以灵活设置轮播样式、动画、轮播和切换时间、位置、图片加载框架等!

快速分组侧边栏

https://github.com/saiwu-bigk...
https://github.com/CaMnter/Ea...
https://github.com/gjiazhe/Wa...

给图片打标签

https://github.com/saiwu-bigk...

滚动刻度尺

https://github.com/LichFaker/...

加减号控制数字增减

https://github.com/saiwu-bigk...

状态栏变色

毫无疑问是这个:
https://github.com/jgilfelt/S...
api封装一下,简化使用:
StatusbarUtil.java

网络请求

okhttp + chuck
对okhttp的封装:
https://github.com/hss01248/H... :我花最多精力维护的一个库,使用时爽得飞起.

https://github.com/jeasonlzy/... 这个很多人用.

https://github.com/jgilfelt/c... 通过拦截器的方式拿到请求和响应信息,然后显示在一个单独的activity中算是应用内抓包

文件下载

https://github.com/lingochamp...
专注于文件下载,各种高级特性.适用于对文件下载业务要求较高的项目

3 数据库

greenDAO太难用,还是orMLite好.
https://github.com/j256/ormli...

数据库调试方式:
无需root.在浏览器端通过http请求的方式直接查看和操作数据库,方便快捷
https://github.com/amitshekha...

4 图片加载

包括普通图片加载和大图加载,以及大图轮播,以及图片的一些特殊效果,比如角,圆形,高斯模糊等等.
https://github.com/hss01248/I...
此库基于glide和fresco封装,实现了图片的常见特殊效果.
优化了sumsamplingImageView的大图轮播,使轮播时内存占用也一直维持在20M的水平.
配置全部链式api调用

本地图片选择,裁剪,压缩

系统intent被国产rom搞得不能用,各种兼容性bug,必须用框架
https://github.com/hss01248/P... 用链式api串起几个优秀的开库,从而串起了整个流程.

https://github.com/crazycodeb... 这个star很多,也是将整个流程串起来了

页面状态管理

https://github.com/hss01248/P...

工具类库

这个也没有疑问,就是这个高大全的库了:
https://github.com/Blankj/And...

Rx全家桶

为什么没有retrofit? 因为它的api太难用了啊.设计很优美,但是使用起来坑太多,又繁琐.

RxAndroid

让你随意地切换线程

RxBinding

从此摆脱频繁点击导致的重复操作的烦恼

RxLifecycle

生命周期管理,减少内存泄漏

Rxpermissions

6.0运行时权限

Rx PReferences

通过 RxJava 的方式来访问 SharedPreferences

键盘监听

键盘监听是android一大坑.

自动弹出键盘:
activity 标签里加android:windowSoftInputMode="stateHidden|stateAlwaysHidden"

https://github.com/yshrsmz/Ke...

视频播放

https://github.com/jjdxmashl/...
基于ijkplayer项目进行的播放器界面UI封装

屏幕适配

https://github.com/hongyangAn...

UI特效

水波纹效果

https://github.com/traex/Ripp... 兼容到api9

动画

https://github.com/florent37/...
A fluent Android animation library

换皮肤主题

https://github.com/hongyangAn...

文件和缓存相关

https://github.com/vincentbri...
This android library provide a cache with 2 layers, one in RAM in top of one disk.

https://github.com/baoyongzha...
Very easy to use wrapPEr library for Android SharePreferences

content-provider

https://github.com/Everything...

原生组件的替换

edittext

https://github.com/rengwuxian...

viewpager

https://github.com/Devlight/I...

listview和recycleview

https://github.com/CymChad/Ba...

脚本宝典总结

以上是脚本宝典为你收集整理的android技术选型(持续更新中...)全部内容,希望文章能够帮你解决android技术选型(持续更新中...)所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。