您的位置:首页 > 移动开发 > Android开发

GitHub优秀开源工具---Android

2018-01-18 20:18 706 查看

动画框架:

ListViewAnimations 列表框架
compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
1
2
3
4
NineOldAndroids 简单的动画库
compile 'com.nineoldandroids:library:2.4.0'
1
2
Android-flip 翻页效果
android-flip-master
AndroidViewAnimations 强大的动画组件
compile 'com.android.support:support-compat:25.1.1'
compile 'com.daimajia.easing:library:2.0@aar'
compile 'com.daimajia.androidanimations:library:2.3@aar'
1
2
3
4
Material-AnimationsActivity 之间的跳转, Fragment 与 Fragment 之间的跳转,以及各个 View 变化前后的过渡动画
Material-Animations-master

Rebound一个弹性动画库, 可以让动画看起来真实自然, 像真实世界的物理运动带有力的效果, 使用的参数则是 Facebook 的 origami 中使用的

compile 'com.facebook.rebound:rebound:0.3.8'
1
2
AndroidImageSlider为ViewPager图片滑动提供多种动画效果, 还可以轻易为ViewPager加载网络图片

compile 'com.daimajia.androidanimations:library:1.0.3@aar'
compile 'com.daimajia.slider:library:1.1.5@aar'
1
2
3
AVLoadingIndicatorView库含有各种各样漂亮的加载动画效果

compile 'com.wang.avi:library:2.1.3'
1
2
Lottie---json动画视图
compile 'com.airbnb.android:lottie:2.2.0'
1
2

UI框架:

IRecyclerView--扩展类IRecyclerView 经典/酷炫 刷新,更多,头尾视图

compile 'com.github.Aspsine:IRecyclerView:0.0.5'
1
2
MaterialDesignLibrary控件都是遵循了 Google Material Design 设计规范开发出来,
例如有: Flat Button, Rectangle Button, CheckBox, Switch,
Progress bar circular indeterminate

compile 'com.nineoldandroids:library:2.4.0'compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
1
2
3
MaterialDialogMaterial Dialogs 是一个可高度定制易用, 符合 Material Design 风格的 Dialogs

The *core* module contains all the major classes of this library, including `MaterialDialog`.
You can create basic, list, single/multi choice, progress, input, etc. dialogs with core.

compile 'com.afollestad.material-dialogs:core:0.9.4.5`

The *commons* module contains extensions to the library that not everyone may need. This includes the
`ColorChooserDialog`, `FolderChooserDialog`, the Material `Preference` classes, and `MaterialSimpleListAdapter`/`MaterialSimpleListItem`.

compile 'com.afollestad.material-dialogs:commons:0.9.4.5'
1
2
3
4
5
6
7
8
9
10
Observablescrollview上划联动
实现拥有 Material Design 应用视觉体验的界面外观,
支持ListView, ScrollView, WebView, RecyclerView, GridView组件

compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
1
2
FloatingActionButton---悬浮按钮菜单
compile 'com.github.clans:fab:1.6.4'
1
2
ZDepthShadowLayout---阴影
compile 'com.github.ShogoMizumoto:ZDepthShadowLayout:1.0.4'
1
2
CircleImageView---带边框的圆形视图
compile 'de.hdodenhof:circleimageview:2.1.0'
1
2
Banner--图片轮播控件
compile 'com.youth.banner:banner:1.4.9'
1
2
PhotoView支持 Pinch 手势自由缩放, 支持双击放大/还原, 支持平滑滚动

compile 'com.github.chrisbanes:PhotoView:1.2.5'
1
2
MaterialDrawer侧滑菜单
compile('com.mikepenz:materialdrawer:5.9.4@aar') {
transitive = true
}
1
2
3
4
ViewPagerIndicator---指示器
compile 'com.github.JakeWharton:ViewPagerIndicator:2.4.1'
1
2
12.Bootstrap--- Android版的Bootstrap
compile 'com.beardedhen:androidbootstrap:2.3.1'
1
2
13.SwipeLayout---左右滑动,可删除条目
compile "com.daimajia.swipelayout:library:1.2.0@aar"
1
2
AndroidSlidingUpPanel显示面板控件
在底部显示部分控件,可上划,
初始显示区域高度小于等于68dp

compile 'com.sothree.slidinguppanel:library:3.3.1'
1
2
MaterialViewPager一个简单易用 Material Design 风格的 ViewPager 库

compile ('com.github.florent37:materialviewpager:1.2.1@aar'){
transitive = true;
}
1
2
3
4
Android-Ultra-Pull-To-Refresh非常强大的下拉刷新库
功能甚至比 SwipeRefreshLayout 强大

compile 'in.srain.cube:ultra-ptr:1.0.11'
1
2
AppIntro快速搭建漂亮酷炫的引导页库

compile 'com.github.apl-devs:appintro:v4.2.0'
1
2
ShowcaseView非常适合用于对用户进行第一次使用进行指导的库

compile 'com.github.amlcurran.showcaseview:library:5.4.3'
1
2
Calligraphy简化 Android 应用使用自定义字体的类库

compile 'uk.co.chrisjenx:calligraphy:2.3.0@aar'
1
2
MaterialMaterial 是将 Material Design 风格控件封装在该库当中,
目前封装有Progress, Button, Switch, Slider, Spinner, Text Field, TabPageIndicator, SnackBar, Dialog, BottomSheetDialog, Dynamic theme

compile 'com.github.rey5137:material:1.2.4'
1
2
RippleEffect实现在 Android 任何组件点击出现 Material Design 的波纹效果
向下兼容到 Android API9

compile 'com.github.traex.rippleeffect:library:1.3'
1
2
SmoothProgressBar酷炫进度条
实现可定制, 平滑动画的水平滚动进度条库

compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
compile 'com.github.castorflex.smoothprogressbar:library-circular:1.1.0'
1
2
3
UltimateRecyclerViewRecyclerView(advanced and flexible version of ListView), 包括了下拉刷新, 加载更多, 多种动画, 空数据提示, 拖动排序, 视差处理, 工具栏渐变, 滑动删除, 自定义floating button, 多种刷新效果, scrollbar, sticky header, 多 layout 支持等等元素

compile 'com.marshalchen.ultimaterecyclerview:library:0.7.2'
1
2
MaterialEditText就职于 Flipboard 的员工 扔物线 开发的, 在 AppCompat v21 中也提供了 Material Design 的控件 EditText, 可是由于比较难用, 没有提供设置颜色的 Api, 于是就产生这个第三方库

compile 'com.rengwuxian.materialedittext:library:2.1.4'
1
2
Side-Menu.Android提供翻页动画效果的侧边菜单

compile ('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
transitive = true;
}
compile 'com.github.yalantis:Side-Menu.Android:1.0.1'
1
2
3
4
5
SystemBarTint实现沉浸式状态栏库, 适用于 Android 系统 4.4 其以上的版本

compile 'com.github.open-android:SystemBarTint:v1.0.0'
1
2
NumberProgressBar带简约性感数字显示的进度条库

compile 'com.daimajia.numberprogressbar:library:1.4@aar'
1
2
SwipeBackLayout支持屏幕上下左右滑动返回上层 Activity, 关闭当前 Activity

compile 'me.imid.swipebacklayout.lib:library:1.0.0'
1
2
android-gif-drawable支持 gif 显示的 view, 用 jni 实现的, 编译生成 so 库后直接 xml 定义 view

compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
1
2
SmartTabLayout自定义的 Tab title strip, 基于 Google Samples 中的 android-SlidingTabBasic 项目

compile 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
compile 'com.ogaclejapan.smarttablayout:utils-v13:1.6.1@aar'
1
2
3
4
SweetAlert清新文艺, 快意灵动的甜心弹框, 灵感来源于 JS 版

compile 'cn.pedant.sweetalert:library:1.3'
1
2
KenBurnsViewyou can change the duration and the interpolator of transitions and pause/resume them.

compile 'com.flaviofaria:kenburnsview:1.0.7'
1
2
UserBottomTabBar---简单的底部导航
compile 'com.github.zhaolei9527:UseBottomTabBar:v1.0.3'
1
2
JPTabBar---多功能底部导航
compile 'com.jpeng:JPTabBar:1.2.5'
1
2
emojiconize---表情控件
compile 'io.github.rockerhieu:emojicon:1.4.2'
1
2
Badgeview---类似QQ的拖拽效果
compile 'q.rorbin:badgeview:1.1.2'
1
2
DraggableFlagView---仿QQ拖拽效果
IMUIAurora IMUI 是个通用的即时通讯(IM)UI 库,不特定于任何 IM SDK。

网络框架:

OkHttpAn HTTP & HTTP/2 client for Android and Java applications.

compile 'com.squareup.okhttp3:okhttp:3.8.1'
1
2
Retrofit---Rx系列封装A type-safe HTTP client for Android and Java

compile 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
1
2
3
4
RxJava---响应式框架
compile "io.reactivex.rxjava2:rxjava:2.1.3"
compile 'io.reactivex:rxandroid:1.2.1'
1
2
3
xUtilsxUtils 是一个快速开发框架, 里面包含 DbUtils, ViewUtils, HttpUtils, BitmapUtils 四大模块, 可用于快速开发, 支持大文件上传, 拥有更加灵活的 ORM, 最低兼容 Android 2.2

compile 'org.xutils:xutils:3.5.0'
1
2
Gson
compile 'com.google.code.gson:gson:2.8.1'
1
2
FastJson
compile 'com.alibaba:fastjson:1.2.37'
compile 'com.alibaba:fastjson:1.1.62.android'
1
2
3
android-async-http---异步请求
compile 'com.loopj.android:android-async-http:1.4.9'
1
2
VolleyAsyncHttpClient 和 Universal-Image-Loader 的优点集于了一身

compile 'com.mcxiaoke.volley:library:1.0.19'
1
2
AndroidAsync基于 NIO 的低端 Android 异步 socket, http (client+server)
websocket 和 socket.io 网络通信协议类库

compile 'com.koushikdutta.async:androidasync:2.2.1'
1
2

通信

EventBus---事件总线机制
compile 'org.greenrobot:eventbus:3.0.0'
1
2

图片加载框架

Glide---图片加载
compile 'com.github.bumptech.glide:glide:4.0.0-RC1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC1'
1
2
3
Picasso---图片加载
compile 'com.squareup.picasso:picasso:2.5.2'
1
2
ImageLoader---图片缓存
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
1
2
uCropuCrop 是Yalantis 组织开源的图片裁剪库, 支持缩放, 旋转图片, 支持各种比例的裁剪框, 非常强大的一个图片裁剪库

compile 'com.yalantis:ucrop:2.2.0'
compile 'com.yalantis:ucrop:2.2.0-native'
1
2
3
CustomShapeImageViewA library for supporting custom shaped ImageView(s) using SVGs and paint shapes

compile 'com.mostafagazar:customshapeimageview:1.0.4'
1
2

数据库框架:

GreenDao
compile 'org.greenrobot:greendao:3.2.2'
1
2

注解框架:

Butterknife---可绑定任意View
compile 'com.jakewharton:butterknife:8.7.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
1
2
3
Androidannotations---强大的注解
annotationProcessor "org.androidannotations:androidannotations:4.3.1"
compile "org.androidannotations:androidannotations-api:4.3.1"
1
2
3
Dagger---注解工具,利用反射Inject
compile 'com.squareup.dagger:dagger:1.2.5'
compile 'com.squareup.dagger:dagger-compiler:1.2.5'
1
2
3

日志打印:

Logger---支持多种类型数据打印
compile 'com.orhanobut:logger:2.1.1'
1
2
Timber---支持占位符替换
compile 'com.jakewharton.timber:timber:4.5.1'
1
2

内存检测:

leakcanary---内存检测工具
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
1
2
3
4

工具类集合:

Lambda插件
This plugin will automatically build your java or android project with retrolambda, giving you lambda goodness on java 6 or 7. It relies on the wonderful retrolambda by Esko Luontola.
classpath 'me.tatarka:gradle-retrolambda:3.7.0'

apply plugin: 'me.tatarka.retrolambda'

android{
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
1
2
3
4
5
6
7
8
9
10
11
12
Android-Common
android-common-lib 是 Trinea 大神收集的一些开发通用的缓存, 公共 View 以及一些常用工具类
compile 'cn.trinea.android.common:trinea-android-common:4.2.15'
1
2
AndroidBucketAndroid开发常用整理(不断扩充中)
包含各种工具类、线程池、日志、自定义的控件、程序崩溃
捕捉处理、默认的Application配置、常用的Adapter等

compile 'com.github.wangjiegulu:AndroidBucket:1.0.4'
1
2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: