//所有库
https://github.com/XXApple/AndroidLibs
https://github.com/andyxialm/ColorDialog
project:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
module(已添加至UtilsLib):
dependencies {
compile 'com.github.andyxialm:ColorDialog:1.0.0'
}
https://github.com/afollestad/material-dialogs
module
compile 'com.afollestad.material-dialogs:commons:0.9.4.5'
//Toast
//有很多其他库
https://github.com/maning0303/MNProgressHUD
https://github.com/leandroBorgesFerreira/LoadingButtonAndroid
https://github.com/pengwei1024/XProgressDialog
https://github.com/medyo/Dynamicbox
使用方法:
DynamicBox box = new DynamicBox(this, view); //需要触发的组件
box.show...
box.hideAll();
https://github.com/greenrobot/EventBus
http://blog.csdn.net/itachi85/article/details/52205464
compile 'org.greenrobot:eventbus:3.0.0'
or
<dependency>
<groupId>org.greenrobotgroupId>
<artifactId>eventbusartifactId>
<version>3.0.0version>
dependency>
https://github.com/grantland/android-autofittextview
http://blog.csdn.net/qq_23547831/article/details/50592352
https://github.com/ragunathjawahar/android-saripaar
http://www.jianshu.com/p/e4a5fa7edcde
allprojects {
repositories {
...
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
}
compile 'com.mobsandgeeks:android-saripaar:2.0.3'
https://github.com/nex3z/FlowLayout
compile 'com.nex3z:flow-layout:1.0.0'
project:
repositories {
maven {
url "https://jitpack.io"
}
}
module依赖:
compile 'com.github.Cutta:GifView:1.1'
使用:
<com.cunoraz.gifview.library.GifView
android:id="@+id/gv"
app:gif="@mipmap/qq"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
https://github.com/chaychan/PowerfulViewLibrary
http://blog.csdn.net/Chay_Chan/article/details/72810770
Project:
maven { url 'https://jitpack.io' }
module:
compile 'com.github.chaychan:PowerfulViewLibrary:1.2.1'
https://github.com/makovkastar/FloatingActionButton
compile 'com.melnykov:floatingactionbutton:1.3.0'
http://blog.csdn.net/qq_23547831/article/details/52037710
https://github.com/yipianfengye/android-zxingLibrary
权限:
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.CAMERA" />
module依赖
compile 'cn.yipianfengye.android:zxing-library:2.1'
https://github.com/journeyapps/zxing-android-embedded
http://blog.csdn.net/sankoshine/article/details/50823238?skin=ink
compile 'com.google.zxing:core:3.3.0'
compile 'com.journeyapps:zxing-android-embedded:3.3.0'
https://github.com/florent37/CameraFragment
compile 'com.github.florent37:camerafragment:1.0.7'
https://github.com/lygttpod/AndroidCustomView
https://github.com/stkent/PolygonDrawingUtil
compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.33'
maven { url "https://jitpack.io" }
https://github.com/CymChad/BaseRecyclerViewAdapterHelper
使用方式:
http://www.recyclerview.org/
http://www.jianshu.com/p/b343fcff51b0
https://github.com/TakuSemba/MultiSnapRecyclerView
compile 'com.github.takusemba:multisnaprecyclerview:1.1.0'
app:msrv_gravity="start" //吸附对齐位置 center end
app:msrv_snap_count="5" //将所有item分为5部分 不设置则为1
module依赖:
compile 'com.youth.banner:banner:1.4.9'
https://github.com/youth5201314/banner
https://github.com/Jude95/RollViewPager
http://blog.csdn.net/double2hao/article/details/51328824
compile 'com.jude:rollviewpager:1.4.6'
https://github.com/Blankj/AndroidUtilCode
compile 'com.blankj:utilcode:1.9.8'
https://github.com/mBigFlower/volley-utils
compile 'com.flowerfat.volleyutil:volleyutil:0.3.4' //volley封装 --> https://github.com/mBigFlower/volley-utils
使用:
在Application中初始化:
VolleyUtils.getInstance().init(this, true); //表示是否session保持
https://github.com/square/okhttp
compile 'com.squareup.okhttp3:okhttp:3.9.1'
https://github.com/pengjianbo/OkHttpFinal
compile 'cn.finalteam:okhttpfinal:2.0.7'
https://github.com/jeasonlzy/okhttp-OkGo
http://blog.csdn.net/bskfnvjtlyzmv867/article/details/71598263
//必须使用
compile 'com.lzy.net:okgo:3.0.4'
//以下三个选择添加,okrx和okrx2不能同时使用
compile 'com.lzy.net:okrx:1.0.2'
compile 'com.lzy.net:okrx2:2.0.2'
compile 'com.lzy.net:okserver:2.0.5'
https://github.com/square/retrofit
http://www.jianshu.com/p/308f3c54abdd
https://github.com/square/retrofit
https://github.com/1004145468/IKGson
https://github.com/zhihu/Matisse
https://github.com/Bilibili/boxing
https://github.com/hongyangAndroid/android-percent-support-extend
http://blog.csdn.net/lmj623565791/article/details/46767825
compile 'com.zhy:percent-support-extends:1.0.7'
https://github.com/ikew0ng/SwipeBackLayout
compile 'me.imid.swipebacklayout.lib:library:1.0.0'
https://github.com/LitePalFramework/LitePal
compile 'org.litepal.android:core:1.5.1'
https://github.com/wlfcolin/file-downloader
http://www.cnblogs.com/wlfcolin/p/5001363.html
compile 'org.wlf:FileDownloader:0.3.2'
https://github.com/pengjianbo/FileDownloaderFinal
compile 'cn.finalteam:filedownloaderfinal:1.0.7'
https://github.com/AriaLyy/Aria
https://www.jianshu.com/p/ba32dc499db3
compile 'com.arialyy.aria:aria-core:3.3.7'
annotationProcessor 'com.arialyy.aria:aria-compiler:3.3.7'
https://github.com/aritraroy/PatternLockView
http://blog.csdn.net/lmj623565791/article/details/50709663?locationNum=1&fps=1
https://github.com/googlesamples/easypermissions
详细使用:http://www.jianshu.com/p/2b3661928e66
compile 'pub.devrel:easypermissions:0.4.2'
https://github.com/JakeWharton/butterknife
http://www.apkbus.com/blog-904057-67981.html
project
classpath 'com.jakewharton:butterknife-gradle-plugin:8.6.0'
module
compile 'com.jakewharton:butterknife:8.6.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0'
https://github.com/scwang90/SmartRefreshLayout
https://segmentfault.com/a/1190000010066071
compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.3'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'//没有使用特殊Header,可以不加这行
https://github.com/liaoinstan/SpringView
http://blog.csdn.net/liaoinstan/article/details/51023907
compile 'com.liaoinstan.springview:library:1.2.6'
https://github.com/zhangtuodd/CustomRefreshView
http://www.jianshu.com/p/1a82cdab2249
compile 'com.zt.maven.widget:refreshview:1.0.0'
https://github.com/willowtreeapps/spruce-android
https://github.com/huburt-Hu/NewbieGuide/blob/master/doc/README-zh.md
Project:
repositories {
maven { url 'https://jitpack.io' }
}
Module:
compile 'com.github.huburt-Hu:NewbieGuide:v1.2.0'
https://github.com/KingJA/LoadSir
http://www.jianshu.com/p/2d3537101281
compile 'com.kingja.loadsir:loadsir:1.3.2'
https://jaeger.itscoder.com/android/2016/03/27/statusbar-util.html
https://github.com/laobie/StatusBarUtil
compile 'com.jaeger.statusbarutil:library:1.4.0'