整理:Android自带、第三方需要添加依赖的控件
AS自带的
butterknife(自动绑定控件id)
compile 'com.jakewharton:butterknife:8.0.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.0.1'
实践笔记
Android系统库自带的
Android的design库
compile 'com.android.support:design:23.3.0'
Android的recyclerview
compile 'com.android.support:recyclerview-v7:23.3.0'
cardview(卡片布局控件)
注意版本要一致,不然会出错。
compile 'com.android.support:appcompat-v7:25.2.0'compile 'com.android.support:cardview-v7:25.2.0'
第三方框架
Glide图片加载
原址:https://github.com/bumptech/glide
实践笔记
compile 'com.github.bumptech.glide:glide:3.7.0'
glide-transformations滤镜裁剪
原址:https://github.com/wasabeef/glide-transformations
compile 'jp.wasabeef:glide-transformations:2.0.1'
xutils网络框架(数据库)
实践笔记很多,自行搜索选择
原址:https://github.com/wyouflf/xUtils3
compile 'org.xutils:xutils:3.3.40'
alibaba:fastjson
原址:https://github.com/alibaba/fastjson
compile 'com.alibaba:fastjson:1.1.52.android'
实践笔记
okhttp网络框架
原址:https://github.com/square/okhttp
compile 'com.squareup.okhttp3:okhttp:3.3.1'
Cookie及异常捕获(使用本地app-debug.aar包)
compile(name: 'app-debug', ext: 'aar')
实践笔记
alertview仿ios的对话框
原址:https://github.com/Bigkoo/Android-AlertView
compile 'com.bigkoo:alertview:1.0.2'
eventbus程序内消息通知事件
原址:https://github.com/greenrobot/EventBus
compile 'org.greenrobot:eventbus:3.0.0'
SwipeDelMenuLayout仿IOS的侧滑编辑删除
原址:https://github.com/mcxtzhang/SwipeDelMenuLayout
compile 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
material-calendarview日历控件
原址:https://github.com/prolificinteractive/material-calendarview
compile 'com.prolificinteractive:material-calendarview:1.4.3'
subsampling-scale-image-view看超大图
原址:https://github.com/davemorrissey/subsampling-scale-image-view
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.5.0'
android-pdf-viewer看PDF
原址:https://github.com/barteksc/AndroidPdfViewer
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'
原址:https://github.com/barteksc/AndroidPdfViewer
实践笔记
rv-gallery画廊效果
原址:用RecyclerView做一个小清新的Gallery效果 https://github.com/ryanlijianchang/Recyclerview-Gallery
compile 'com.ryan.rv_gallery:rv-gallery:1.0.9'
CarouselLayoutManager画廊效果
原址:GitHub - Azoft/CarouselLayoutManager: Android Carousel LayoutManager for RecyclerView https://github.com/Azoft/CarouselLayoutManager
compile ('com.azoft.carousellayoutmanager:carousel:1.2.4') { exclude group: 'com.android.support', module: 'recyclerview-v7' }
实践笔记
SmartRefreshLayout刷新控件
原址:https://github.com/scwang90/SmartRefreshLayout
下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
sweetalert对话框
原址:https://github.com/pedant/sweet-alert-dialog
compile 'cn.pedant.sweetalert:library:1.3'
pickview仿IOS的选择日期、省份控件
原址:https://github.com/brucetoo/PickView
compile 'com.brucetoo.pickview:library:1.2.3'
banner轮播图
原址:https://github.com/youth5201314/banner
compile 'com.youth.banner:banner:1.4.10'
hellocharts图表
原址:https://github.com/lecho/hellocharts-android
compile 'com.github.lecho:hellocharts-android:v1.5.8'
SwitchButton
原址:https://github.com/kyleduo/SwitchButton
compile 'com.kyleduo.switchbutton:library:1.4.1'
TakePhoto适配7.0的图片选择框架
原址:https://github.com/crazycodeboy/TakePhoto
compile('com.jph.takephoto:takephoto_library:4.0.3') { exclude group: 'com.github.bumptech.glide' }
loopView仿照iOS的滚轮控件
原址:https://github.com/weidongjian/androidWheelView
compile 'com.weigan:loopView:0.1.2'
实践笔记
PhotoView可缩放的图片控件
原址:https://github.com/chrisbanes/PhotoView
compile 'com.github.chrisbanes:PhotoView:1.2.6'
实践笔记
ldrawer抽屉效果
原址:https://github.com/keklikhasan/LDrawer
compile 'com.ikimuhendis:ldrawer:0.1'
zxing扫描二维码条形码
原址:https://github.com/zxing/zxing
compile 'com.google.zxing:core:3.3.0'
实践笔记
CardStackView卡片堆叠效果
原址:GitHub - loopeer/CardStackView: One Custom view for show something just like cards with animations. https://github.com/loopeer/CardStackView
更多相关文章
- Android的OpenGL学习笔记(5)
- Android自学笔记(Android(安卓)x86模拟器Intel Atom x86 System I
- Android学习笔记_79_ Android(安卓)使用 搜索框
- Android入门学习笔记之人机用户界面
- Android学习笔记(9)---FrameLayout中上下层可点击设置
- android SQLiteDatebase 实践
- Android(安卓)PinyinIME 源码笔记 -- 0. 简介
- Android学习笔记(11)————Android的私人文件夹的文件读写操作
- Android版本和API Level对应关系