android常用框架
16lz
2021-01-23
欢迎访问我的个人博客网站:http://www.yanmin99.com/
Android常用框架
-
一、工具框架
- RxAndroid
- 对RxJava在Android上的扩展,使得Android上也很容易实现reactive components,简化线程操作,从而写出很漂亮的代码。
- 项目地址:https://github.com/ReactiveX/RxAndroid
- 文档介绍:给Android 开发者的 RxJava 详解
- shipfaster
- 整合了 Dagger Otto Retrofit Robolectric Picasso OkHttp,方便快速开发
- 项目地址:https://github.com/pyricau/shipfaster
- RxAndroid
-
二、ORM框架
- greenDAO
- Android Sqlite orm 的 db 工具类
- 项目地址:https://github.com/greenrobot/greenDAO
- 文档介绍:http://greendao-orm.com/documentation/
- ActiveAndroid
- Android Sqlite orm 的 db 工具类
- 项目地址:https://github.com/pardom/ActiveAndroid
- 文档介绍:https://github.com/pardom/ActiveAndroid/wiki/_pages
- greenDAO
-
三、网络框架
- Volley
- Google 提供的网络通信库,使得网络请求更简单、更快速
- 项目地址:https://android.googlesource.com/platform/frameworks/volley
- android-async-http
- Android 异步 Http 请求
- 项目地址:https://github.com/loopj/android-async-http
- 文档介绍:http://loopj.com/android-async-http/
- async-http-client
- Java 异步 Http 请求
- 项目地址:https://github.com/AsyncHttpClient/async-http-client
- 文档介绍:http://sonatype.github.io/async-http-client/
- okhttp
- square 开源的 http 工具类
- 项目地址:https://github.com/square/okhttp
- 文档介绍:http://square.github.io/okhttp/
- retrofit
- RESTFUL API 设计
- 项目地址:https://github.com/square/retrofit
- 文档介绍:http://square.github.io/retrofit/
- Volley
-
四、图片缓存
- Android-Universal-Image-Loader
- 图片缓存,目前使用最广泛的图片缓存,支持主流图片缓存的绝大多数特性。
- 项目地址:https://github.com/nostra13/Android-Universal-Image-Loader
- 原理剖析文档:Android-Universal-Image-Loader
- picasso
- square 开源的图片缓存
- 项目地址:https://github.com/square/picasso
- 文档介绍:http://square.github.io/picasso/
- fresco
- 一款强大的图片缓存工具,由 Facebook 开发
- 项目地址:https://github.com/facebook/fresco
- 文档介绍:http://frescolib.org/
- Android-Universal-Image-Loader
-
五、依赖注入
- butterknife
- 利用 annotation 帮你快速完成 View 的初始化,减少代码
- 项目地址:https://github.com/JakeWharton/butterknife
- 文档介绍:http://jakewharton.github.io/butterknife/
- Dagger
- 依赖注入,适用于 Android 和 Java
- 项目地址:https://github.com/square/dagger
- 原理剖析文档:Dagger
- 文档介绍:http://square.github.io/dagger/
- butterknife
-
六、JSON解析
- jackjson
- gson
- fastjson
-
七、事件总线(订阅者模式)
- EventBus
- greenrobot 的开源项目
- 项目地址:https://github.com/greenrobot/EventBus
- 原理剖析文档:EventBus
- 文档介绍:https://github.com/greenrobot/EventBus#general-usage-and-api
- Otto
- Square 的开源项目,基于 Guava 的 Android 优化
- 项目地址:https://github.com/square/otto
- 文档介绍:http://square.github.io/otto/
- EventBus
更多相关文章
- android studio导入quick cocos2dxV3.3的android项目出现的andro
- Android系列教程之四:Android项目的目录结构
- android NDK 各个版本下载地址
- Android 调试:java 跨工程调试 android 项目
- Android Studio项目适配Android X(Android 9.0)
- Android7.0中文文档(API)-- LinearLayout.LayoutParams
- android studio软件下载地址