|
公司使用开源框架搜集
1、访问网络:
最初用 Volley:https://github.com/mcxiaoke/android-volley (现在基本不用了,被Retrofit2替代)
现在用 Retrofit (配合rxjava2使用):https://square.github.io/retrofit/ https://github.com/square/retrofit
(https://www.jianshu.com/p/0fda3132cf98 https://www.jianshu.com/p/f2644cc784f3)
2、处理图片
图片加载框架 Glide :https://github.com/bumptech/glide
图片选择框架 PhotoPicker :https://github.com/donglua/PhotoPicker https://android-arsenal.com/details/1/2091
可实现轮播图的定时轮播、图片加载 LMBanners : https://github.com/Allure0/LMBanners
3、线程
异步处理 Rxjava2/RxAndroid2 :https://www.jianshu.com/p/0cd258eecf60
4、view的绑定初始化
View注入框架 ButterKnife :https://github.com/JakeWharton/butterknife
数据绑定DataBinding (是谷歌官方发布的一个框架-推荐使用):https://www.jianshu.com/p/bd9016418af2
5、其他
事件发布-订阅总线 EventBus :https://www.jianshu.com/p/e7d5c7bda783
Json解析框架 GSON (retrofit+rxjava+gson)
扫一扫 ZXing :https://github.com/zxing/zxing
多选单选框LabelsView :https://github.com/donkingliang/LabelsView
android和JavaScript交互 dsbridge:https://github.com/wendux/DSBridge-Android/blob/x5-3.0/readme-chs.md
轮播框架/轮播图/引导页 LMBanners :https://github.com/Allure0/LMBanners
指示器 KProgressHUD : https://github.com/Kaopiz/KProgressHUD
recycleview的Item增删改移等动画 recyclerview-animators:https://github.com/wasabeef/recyclerview-animators
数据下拉刷新SmartRefreshLayout:https://github.com/scwang90/SmartRefreshLayout
(TwinklingRefreshLayout 也用过为了统一公司框架,把这个都换成了SmartRefreshLayout)
指纹识别:http://mi.hqyj.com/Android/963.html https://www.jianshu.com/p/6e89b7054fdb
|