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画廊效果
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'