Android快速开发整理(库、插件、常用网站)
source link: http://www.androidchina.net/8403.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、官方支持库
compile ‘com.android.support:appcompat-v7:26.1.0’
compile ‘com.android.support:support-v4:26.1.0’
compile ‘com.android.support:recyclerview-v7:26.1.0’
compile ‘com.android.support:support-v13:26.1.0’
compile ‘com.android.support:design:26.1.0’
compile ‘com.android.support:cardview-v7:26.1.0’
目前最新版本27.0.1,需要compileSdkVersion 27
二、第三方库
部分库是jitpack的发布方式,需要在project下的build.gradle中加上(可直接加上,一劳永逸)
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
- compile ‘com.google.code.gson:gson:2.8.2’
- GitHub:https://github.com/google/gson
- 相关文章:Gson 解析教程
Glide
- compile ‘com.github.bumptech.glide:glide:4.6.1’
- annotationProcessor ‘com.github.bumptech.glide:compiler:4.6.1’
- GitHub:https://github.com/bumptech/glide
- 相关文章:带你全面了解Glide 4的用法
Glide Transformations
- compile ‘jp.wasabeef:glide-transformations:3.0.1’
- Github:https://github.com/wasabeef/glide-transformations
Picasso
Picasso Transformations
- compile ‘jp.wasabeef:picasso-transformations:2.1.2’
- Github:https://github.com/wasabeef/picasso-transformations
Butter Knife
- compile ‘com.jakewharton:butterknife:8.8.1’
- annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’
- 官网:http://jakewharton.github.io/butterknife/
- GitHub:https://github.com/JakeWharton/butterknife
- 相关文章:Butter Knife 配置和使用及插件
Dagger 2(Google)
- compile ‘com.google.dagger:dagger:2.x’
- annotationProcessor ‘com.google.dagger:dagger-compiler:2.x’
- Github:https://github.com/google/dagger
EventBus
greenDAO
PermissionsDispatcher(6.0权限)
- compile(“com.github.hotchemi:permissionsdispatcher:3.0.1”) {
// if you don’t use android.app.Fragment you can exclude support for them
exclude module: “support-v13”
} - annotationProcessor “com.github.hotchemi:permissionsdispatcher-processor:3.0.1”
- GitHub:https://github.com/hotchemi/PermissionsDispatcher
- 相关文章:Android6.0运行时权限。
RxPermissions(6.0权限)
- compile ‘com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar’
- GitHub:https://github.com/tbruyelle/RxPermissions
Android Saripaar v2(表单校验)
YUtils(Android快速开发工具集合)
- compile ‘com.github.yechaoa:YUtils:2.0.5’
- GitHub:https://github.com/yechaoa/YUtils
AndroidUtilCode(各种util)
- compile ‘com.blankj:utilcode:1.6.4’
- GitHub:https://github.com/Blankj/AndroidUtilCode
OkHttp
okhttp-utils(鸿洋_)
- compile ‘com.lzy.net:okgo:3.0.4’
- GitHub:https://github.com/jeasonlzy/okhttp-OkGo
xUtils3
- compile ‘org.xutils:xutils:3.5.0’
- GitHub:https://github.com/wyouflf/xUtils3
Retrofit
RX系列:https://github.com/ReactiveX
RxJava
- compile “io.reactivex.rxjava2:rxjava:2.1.3”
- Github:https://github.com/ReactiveX/RxJava
RxAndroid
- compile ‘io.reactivex.rxjava2:rxandroid:2.0.1’
- Github:https://github.com/ReactiveX/RxAndroid
RxKotlin
- compile ‘io.reactivex:rxkotlin:x.y.z’
- Github:https://github.com/ReactiveX/RxKotlin
- Kotlin:Kotlin中文文档
RxBinding
Platform bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding:2.0.0’
‘support-v4’ library bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding-support-v4:2.0.0’
‘appcompat-v7’ library bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.0.0’
‘design’ library bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding-design:2.0.0’
‘recyclerview-v7’ library bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding-recyclerview-v7:2.0.0’
‘leanback-v17’ library bindings:
- compile ‘com.jakewharton.rxbinding2:rxbinding-leanback-v17:2.0.0’
- GitHub:https://github.com/JakeWharton/RxBinding
MaterialEditText
- compile ‘com.rengwuxian.materialedittext:library:2.1.4’
- GitHub:https://github.com/rengwuxian/MaterialEditText
Android View Animations(各种动画)
- compile ‘com.android.support:support-compat:25.1.1’
- compile ‘com.daimajia.easing:library:2.0@aar’
- compile ‘com.daimajia.androidanimations:library:2.2@aar’
- GitHub:https://github.com/daimajia/AndroidViewAnimations
hellocharts-android(图表)
- compile ‘com.github.lecho:hellocharts-android:v1.5.8’
- GitHub:https://github.com/lecho/hellocharts-android
BottomBar(底部导航栏)
- compile ‘com.roughike:bottom-bar:2.3.1’
- GitHub:https://github.com/roughike/BottomBar
BottomNavigationViewEx
- compile ‘com.github.ittianyu:BottomNavigationViewEx:1.2.4”
- GitHub:https://github.com/ittianyu/BottomNavigationViewEx
Banner(图片轮播控件)
- compile ‘com.youth.banner:banner:1.4.10’
- GitHub:https://github.com/youth5201314/banner
Dachshund-Tab-Layout
- compile ‘com.github.Andy671:Dachshund-Tab-Layout:v0.3.1’
- GitHub:https://github.com/Andy671/Dachshund-Tab-Layout
Android PagerSlidingTabStrip(滑动导航栏)
- compile ‘com.astuetz:pagerslidingtabstrip:1.0.1’
- GitHub:https://github.com/astuetz/PagerSlidingTabStrip
XRefreshView(支持各种控件刷新)
SuperRecyclerView
- compile ‘com.supercwn.superrecycleview:superlibrary:1.2.5’
- GitHub:https://github.com/supercwn/SuperRecycleView
EasyRecyclerView
- compile ‘com.jude:easyrecyclerview:4.4.0’
- GitHub:https://github.com/Jude95/EasyRecyclerView
BaseRecyclerViewAdapterHelper
- compile ‘com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.31’
- GitHub:https://github.com/CymChad/BaseRecyclerViewAdapterHelper
vlayout(RecyclerView的LayoutManager扩展-阿里)
- compile (‘com.alibaba.android:vlayout:1.0.7@aar’) {transitive = true}
- GitHub:https://github.com/alibaba/vlayout
RichText(富文本解析器)
- compile ‘com.zzhoujay.richtext:richtext:2.5.2’
- GitHub:https://github.com/zzhoujay/RichText
ViewPagerIndicator
- compile ‘com.shizhefei:ViewPagerIndicator:1.1.5’
- GitHub:https://github.com/LuckyJayce/ViewPagerIndicator
EasyIndicator
- compile ‘com.github.LuckSiege:EasyIndicator:v1.1.1’
- GitHub:https://github.com/LuckSiege/EasyIndicator
ImagePicker(图片选择器,okgo作者)
- compile ‘com.lzy.widget:imagepicker:0.5.5’
- GitHub:https://github.com/jeasonlzy/ImagePicker
PictureSelector
- compile ‘com.github.LuckSiege.PictureSelector:picture_library:v2.1.1’
- GitHub:https://github.com/LuckSiege/PictureSelector
Matisse(知乎)
- compile ‘com.zhihu.android:matisse:0.4.3’
- GitHub:https://github.com/zhihu/Matisse
PhotoView
- compile ‘com.github.chrisbanes:PhotoView:2.0.0’
- GitHub:https://github.com/chrisbanes/PhotoView
Android-SpinKit(Android loading animations)
Toasty
- compile ‘com.github.GrenderG:Toasty:1.2.5’
- GitHub:https://github.com/GrenderG/Toasty
DialogPlus(各种样式的Dialog)
- compile ‘com.orhanobut:dialogplus:1.11@aar’
- GitHub:https://github.com/orhanobut/dialogplus
三、各种好用的插件
可能有的插件搜索不到,直接点击Search in repositories
点击install开始安装,安转成功之后会提示restart重启as,重启就好了。
GsonFormat
- 快速将json字符串转换成一个Java Bean
- 快捷键Alt+S
Android ButterKnife Zelezny
- 配合ButterKnife快速生成注解
- 光标放在布局文件ID上(如R.layut.activity_main),Ctrl+Shift+B
Android Methods Count
- 可查看依赖库中的方法数
Lifecycle Sorter
- 对Activity或者fragment的生命周期方法进行先后排序
- Ctrl + alt + K
JsonOnlineViewer
- 直接在as中请求接口,方便调试
genymotion
- 超快超好用的android模拟器
LeakCanary
- 检测内存泄露
- github:https://github.com/square/leakcanary
四、各种常用的网站
AndroidDevTools(各种android相关工具下载)
在线文档-JDK
在线文档-Android
在线文档-Kotlin
在线文档-Glide
GitHub
Font Awesome Icons
Json在线解析
API文档管理
stackoverflow(IT技术问答网站)
CSDN全球最大中文IT社区
Android开发技术周报
ProcessOn免费在线作图,实时协作
阿里巴巴矢量图标库
各种在线文档和工具(开源中国社区)
Mob开放平台(天气、短信、分享等)
聚合数据(各种开放API)
融云(即时通讯)
蚂蚁金服开放平台(支付宝)
腾讯开放平台
微信开放平台
w3school(HTML)
Bootstrap*组件
友盟(推送统计)
360加固保
Material Design(参考文档)
GitHub:https://github.com/yechaoa/Android-Rapid-Development
转载请注明:Android开发中文站 » Android快速开发整理(库、插件、常用网站)
上一篇 Android 多线程:这是一份详细的AsyncTask使用教程 原来微信“对方正在输入”在这种情况下才显示 下一篇您必须 登录 才能发表评论!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK