二、第三方库
================================================================
部分库是jitpack的发布方式,需要在project下的build.gradle中加上(可直接加上,一劳永逸)
allprojects {
repositories {
maven { url “https://jitpack.io” }
}
}
工具
implementation 'com.google.code.gson:gson:2.8.6’
GitHub:https://github.com/google/gson
相关文章:Gson 解析教程
implementation 'com.github.bumptech.glide:glide:4.11.0’
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0’
GitHub:https://github.com/bumptech/glide
相关文章:带你全面了解Glide 4的用法
implementation 'jp.wasabeef:glide-transformations:4.1.0’
Github:https://github.com/wasabeef/glide-transformations
implementation 'com.squareup.picasso:picasso:2.71828’
官网:http://square.github.io/picasso/
GitHub:https://github.com/square/picasso
相关文章:picasso-强大的Android图片下载缓存库
implementation 'jp.wasabeef:picasso-transformations:2.2.1’
Github:https://github.com/wasabeef/picasso-transformations
implementation 'com.jakewharton:butterknife:10.2.0’
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0’
官网:http://jakewharton.github.io/butterknife/
GitHub:https://github.com/JakeWharton/butterknife
相关文章:Butter Knife 配置和使用及插件
implementation 'com.google.dagger2.22.1’
annotationProcessor 'com.google.dagger:dagger-compiler:2.22.1’
Github:https://github.com/google/dagger
implementation 'org.greenrobot:eventbus:3.2.0’
Github:https://github.com/greenrobot/EventBus
相关文章:EventBus使用详解(一)——初步使用EventBus
EventBus使用详解(二)——EventBus使用进阶
implementation 'org.greenrobot:greendao:3.2.2’
Github:https://github.com/greenrobot/greenDAO
相关文章:玩转Android之数据库框架greenDAO3.0使用指南
implementation 'org.litepal.guolindev:core:3.2.2’
Github:https://github.com/guolindev/LitePal
implementation “com.github.hotchemi:permissionsdispatcher:4.6.0”
annotationProcessor “com.github.hotchemi:permissionsdispatcher-processor:4.6.0”
GitHub:https://github.com/hotchemi/PermissionsDispatcher
相关文章:Android6.0运行时权限。
** implementation ‘com.github.tbruyelle:rxpermissions:0.10.2’**
GitHub:https://github.com/tbruyelle/RxPermissions
** implementation ‘com.permissionx.guolindev:permissionx:1.4.0’**
GitHub:https://github.com/guolindev/PermissionX
implementation 'com.mobsandgeeks:android-saripaar:2.0.3’
Github:https://github.com/ragunathjawahar/android-saripaar/
相关文章:Android之表单验证,Validation三方集成。
implementation 'com.github.yechaoa:YUtils:3.1.1’
GitHub:https://github.com/yechaoa/YUtils
implementation 'com.blankj:utilcode:1.29.0’
GitHub:https://github.com/Blankj/AndroidUtilCode
网络
implementation(“com.squareup.okhttp3:okhttp:4.9.0”)
官网:http://square.github.io/okhttp/
GitHub:https://github.com/square/okhttp
implementation 'com.zhy:okhttputils:2.6.2’
GitHub:https://github.com/hongyangAndroid/okhttputils
相关文章:Android OkHttp完全解析 是时候来了解OkHttp了
implementation 'com.lzy.net:okgo:3.0.4’
GitHub:https://github.com/jeasonlzy/okhttp-OkGo
implementation 'org.xutils:xutils:3.8.3’
GitHub:https://github.com/wyouflf/xUtils3
implementation 'com.squareup.retrofit2:retrofit:2.9.0’
官网:http://square.github.io/retrofit/
GitHub:https://github.com/square/retrofit
implementation “io.reactivex.rxjava2:rxjava:3.0.7”
Github:https://github.com/ReactiveX/RxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1’
Github:https://github.com/ReactiveX/RxAndroid
implementation 'io.reactivex:rxkotlin:2.4.0’
Github:https://github.com/ReactiveX/RxKotlin
Kotlin:Kotlin中文文档
UI
implementation 'com.rengwuxian.materialedittext:library:2.1.4’
GitHub:https://github.com/rengwuxian/MaterialEditText
implementation 'com.android.support:support-compat:25.1.1’
implementation 'com.daimajia.easing:library:2.0@aar’
implementation 'com.daimajia.androidanimations:library:2.2@aar’
GitHub:https://github.com/daimajia/AndroidViewAnimations
implementation 'com.github.lecho:hellocharts-android:v1.5.8’
GitHub:https://github.com/lecho/hellocharts-android
implementation 'com.roughike:bottom-bar:2.3.1’
GitHub:https://github.com/roughike/BottomBar
implementation ‘com.github.ittianyu:BottomNavigationViewEx:1.2.4’’
GitHub:https://github.com/ittianyu/BottomNavigationViewEx
implementation 'com.youth.banner:banner:1.4.10’
GitHub:https://github.com/youth5201314/banner
implementation 'com.github.Andy671:Dachshund-Tab-Layout:v0.3.3’
GitHub:https://github.com/Andy671/Dachshund-Tab-Layout
implementation 'com.astuetz:pagerslidingtabstrip:1.0.1’
GitHub:https://github.com/astuetz/PagerSlidingTabStrip
implementation 'com.jude:easyrecyclerview:4.4.2’
GitHub:https://github.com/Jude95/EasyRecyclerView
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4’
GitHub:https://github.com/CymChad/BaseRecyclerViewAdapterHelper
implementation (‘com.alibaba.android:vlayout:1.2.8@aar’) {transitive = true}
GitHub:https://github.com/alibaba/vlayout
implementation 'com.zzhoujay.richtext:richtext:3.0.8’
GitHub:https://github.com/zzhoujay/RichText
implementation 'com.shizhefei:ViewPagerIndicator:1.1.9’
GitHub:https://github.com/LuckyJayce/ViewPagerIndicator
implementation 'com.github.LuckSiege:EasyIndicator:v1.1.3’
GitHub:https://github.com/LuckSiege/EasyIndicator
implementation 'com.lzy.widget:imagepicker:0.6.1’
GitHub:https://github.com/jeasonlzy/ImagePicker
implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.3.9’
GitHub:https://github.com/LuckSiege/PictureSelector
implementation 'com.zhihu.android:matisse:0.5.3-beta3’
GitHub:https://github.com/zhihu/Matisse
implementation 'com.github.chrisbanes:PhotoView:2.3.0’
GitHub:https://github.com/chrisbanes/PhotoView
implementation 'com.github.ybq:Android-SpinKit:1.4.0’
GitHub:https://github.com/ybq/Android-SpinKit
官网:http://ybq.github.io/Android-SpinKit/
implementation 'com.github.GrenderG:Toasty:1.4.2’
GitHub:https://github.com/GrenderG/Toasty
implementation 'com.orhanobut:dialogplus:1.11@aar’
GitHub:https://github.com/orhanobut/dialogplus
implementation 'com.wdullaer:materialdatetimepicker:4.2.3’
GitHub:https://github.com/wdullaer/MaterialDateTimePicker
implementation 'com.github.clans:fab:1.6.4’
GitHub:https://github.com/Clans/FloatingActionButton
implementation 'liji.library.dev:citypickerview:5.1.0’
GitHub:https://github.com/crazyandcoder/citypicker
implementation 'q.rorbin:VerticalTabLayout:1.2.5’
GitHub:https://github.com/qstumn/VerticalTabLayout
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21’
GitHub:https://github.com/scwang90/SmartRefreshLayout
api 'com.just.agentweb:agentweb:4.1.2’
GitHub:https://github.com/Justson/AgentWeb
接入引导:https://github.com/JingYeoh/FragmentRigger/wiki/%E9%A6%96%E9%A1%B5
GitHub:https://github.com/JingYeoh/FragmentRigger
implementation 'com.shuyu:GSYVideoPlayer:7.1.6’
GitHub:https://github.com/CarGuo/GSYVideoPlayer
implementation 'me.imid.swipebacklayout.lib:library:1.1.0’
GitHub:https://github.com/ikew0ng/SwipeBackLayout
implementation 'cn.bingoogolapple:bga-swipebacklayout:latestVersion@aar’
GitHub:https://github.com/bingoogolapple/BGASwipeBackLayout-Android
implementation 'jp.wasabeef:recyclerview-animators:3.0.0’
GitHub:https://github.com/wasabeef/recyclerview-animators
implementation 'com.lxj:xpopup:2.1.4’
GitHub:https://github.com/li-xiaojun/XPopup
implementation 'com.hyman:flowlayout-lib:1.1.2’
GitHub:https://github.com/hongyangAndroid/FlowLayout
implementation 'com.bitvale:switcher:1.1.0’
GitHub:https://github.com/bitvale/Switcher
implementation 'com.github.princekin-f:EasyFloat:1.3.4’
GitHub:https://github.com/princekin-f/EasyFloat
implementation 'com.binioter:guideview:1.0.0’
GitHub:https://github.com/binIoter/GuideView
implementation 'com.jaeger.statusbarutil:library:1.5.1’
GitHub:https://github.com/laobie/StatusBarUtil
implementation 'com.gyf.immersionbar:immersionbar:3.0.0’
GitHub:https://github.com/gyf-dev/ImmersionBar
三、各种好用的插件
===================================================================
快速将json字符串转换成一个Java Bean
快捷键Alt+S
配合ButterKnife快速生成注解
光标放在布局文件ID上(如R.layut.activity_main),Ctrl+Shift+B
对Activity或者fragment的生命周期方法进行先后排序
Ctrl + alt + K
检测内存泄露
github:https://github.com/square/leakcanary