作为一名Android程序猿,想要在平常工作中越来越顺,一定要在开发中使用一些比较高效流行的框架,下面是个人对开发中常用的框架进行整理成果。

响应式编程

RxJavahttps://github.com/ReactiveX/RxJavaRxAndroidAndroid上的响应式扩展,在RxJava基础上添加了Android线程调度             https://github.com/ReactiveX/RxAndroidRxJavaJoins为RxJava提供Joins操作  https://github.com/ReactiveX/RxJavaJoinsRxBinding  提供用RxJava绑定Android UI的APIhttps://github.com/JakeWharton/RxBindingAgera  Android上的响应式编程https://github.com/google/agera

消息通信

EventBus组件间的消息通信https://github.com/greenrobot/EventBusOtto   一个基于Guava的增强的事件总线https://github.com/square/otto

注解框架

butterknifeView注解框架https://github.com/JakeWharton/butterknifedaggerAndroid和Java的依赖注入框架https://github.com/google/daggerAndroidAnotations  快速安卓开发。易于维护https://github.com/androidannotations/androidannotationsRoboGuice  Android平台的Google Guicehttps://github.com/roboguice/roboguice

数据解析

Gsonhttps://github.com/google/gsonfastjson Java上一个快速的JSON解析器/生成器https://github.com/alibaba/fastjsonJacksonJackson可以轻松地将Java对象转换成json对象和xml文档,同样也可以将json、xml转换成Java对象https://github.com/codehaus/jacksonHtmlPaser  一种用来解析单个独立html或嵌套html的方式https://sourceforge.net/projects/htmlparser/Jsoup  一个以最好的DOM,CSS和jQuery解析html的库https://github.com/jhy/jsoup

数据库

Realm移动数据库SQLite&ORM替代者https://github.com/realm/realm-javaActiveAndroid无需写sql语句https://github.com/pardom/ActiveAndroidgreenDAO轻量级、快速ORM解决方案https://github.com/greenrobot/greenDAOOrmLiteJDBC和Android的轻量级ORM java包https://sourceforge.net/projects/ormlite/files/releases/com/j256/ormlite/Sugar  用超级简单的方法处理Android数据库https://github.com/chennaione/sugarSQLBrite    SQLiteOpenHelper 和ContentResolver的轻量级包装https://github.com/square/sqlbrite

网络请求

OkHttp良心组织square开源项目https://github.com/square/okhttpAndroidAsyncHttp异步请求http库https://github.com/loopj/android-async-httpAndroidAsync    异步Socket,HTTP(客户端+服务器),WebSocket,和socket.io库。基于NIO而不是线程。https://github.com/koush/AndroidAsyncretrofit又是square出品的精品,该http请求库与dagger、rxjava为越来越多人使用的三剑客https://github.com/square/retrofitVolleyGoogle推出的Android异步网络请求框架和图片加载框架项目地址https://github.com/smanikandan14/Volley-demo

后台处理

Tape    一个轻快的,事务性的,基于文件的FIFO的库https://github.com/square/tapeAndroid Priority Job Queue一个专门为Android轻松调度任务的工作队列https://github.com/yigit/android-priority-jobqueue

图片加载

Android-Universal-Image-Loader非常流行图片加载库https://github.com/nostra13/Android-Universal-Image-LoaderGlidehttps://github.com/bumptech/glidefrescofacebook出品,必属精品https://github.com/facebook/frescopicassohttps://github.com/square/picasso

图片处理

Picasso-transformations一个为Picasso提供多种图片变换的库https://github.com/wasabeef/picasso-transformationsGlide-transformations  一个为Glide提供多种图片变换的库https://github.com/wasabeef/glide-transformationAndroid-gpuimage    基于OpenGL的Android过滤器https://github.com/CyberAgent/android-gpuimage

多媒体操作

android-multipicker-library图片、视频、文件、音乐、通讯录选择器https://github.com/coomar2841/android-multipicker-libraryAndroid-Image-Cropper图片裁剪库https://github.com/ArthurHub/Android-Image-CropperuCrophttps://github.com/Yalantis/uCropandroid-UniversalMusicPlayergoogle的跨平台音乐播放器,支持手机、平板、手表和TV,是学习多平台的最好实例https://github.com/googlesamples/android-UniversalMusicPlayerPhotoView图片手势操作放大缩小库https://github.com/chrisbanes/PhotoViewijkplayer bilibili的开源项目 基于ffplay的播放器https://github.com/Bilibili/ijkplayer

图表

WilliamChart    创建图表的Android库https://github.com/diogobernardino/WilliamChartHelloCharts兼容到API8的Android图表库https://github.com/lecho/hellocharts-androidMPAndroidChart  一个强大的Android图表视图/图形库https://github.com/PhilJay/MPAndroidChart

设备相关

zxingJava实现的条形码、二维码扫描开源库https://github.com/zxing/zxingzbarC实现的条形码、二维码扫描库https://github.com/ZBar/ZBarbarcodescanner封装了zxing和zbar,更加简单的使用https://github.com/dm77/barcodescanner

MVP相关

Android-CleanArchitecturemvp架构学习实例https://github.com/android10/Android-CleanArchitectureandroid-architecturegoogle推荐的学习mvp架构的模版https://github.com/googlesamples/android-architecture

缓存

DiskLruCache    Java实现基于LRU的磁盘缓存https://github.com/JakeWharton/DiskLruCacheASimpleCache简单缓存  https://github.com/yangfuhai/ASimpleCache

Log框架

Logger  简单,漂亮,强大的Android日志工具https://github.com/square/leakcanaryHugo   在调试版本上注解的触发方法进行日志记录https://github.com/JakeWharton/hugoTimber 一个小的,可扩展的日志工具https://github.com/JakeWharton/timber

测试框架

MockitoJava编写的Mocking单元测试框架https://github.com/mockito/mockitoRobotium    Android UI 测试https://github.com/RobotiumTech/robotiumRobolectricAndroid单元测试框架https://github.com/xtremelabs/robolectric     Android自带很多测试工具:    JUnit,Monkeyrunner,UiAutomator,Espresso等

调试框架

Stetho  调试Android应用的桥梁,使得可以利用Chrome开发者工具进行调试https://github.com/facebook/stetho

性能优化

LeakCanary  内存泄漏检测工具,简单、漂亮的日志打印工具https://github.com/square/leakcanaryACRA Android应用程序崩溃报告https://github.com/ACRA/acra

动画

NineOldAndroidshttps://github.com/JakeWharton/NineOldAndroids

UI

MaterialDesignhttps://github.com/Templarian/MaterialDesign

更多相关文章

  1. ionic3 图片选取imagepicker以及camera汉化
  2. Android修改图片颜色-转成灰度图
  3. android使用PullToRefresh框架实现ListView下拉刷新上拉加载更多
  4. Android ImageView设置长度高度为wrap_content时高度根据图片比
  5. Android实现获取本机中所有图片
  6. Android之常用开发框架
  7. 高德天气应用开发之一:android 应用子功能及移动框架总述

随机推荐

  1. Android(安卓)C/C++ 开发
  2. Android进程间通信(IPC)常用方式
  3. Android Secret Code
  4. android 不自动弹出软键盘
  5. android 图形展示
  6. proguard-project.txt和project.properti
  7. Android(安卓)WebView使用深入浅出
  8. android Intent (隐式意图和显示意图)
  9. linux环境下android常用工具和技巧
  10. SlidingDrawer源码分析