1 2 3 4 5
|
implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.0' implementation 'com.android.support:design:27.1.1' implementation 'com.android.support:cardview-v7:27.1.1' implementation 'com.android.support:support-v4:27.1.1'
|
anko
project - build.gradle
1 2 3 4 5 6 7 8
|
buildscript { ext.kotlin_version = '1.1.51' //.... dependencies { //... classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }
|
app - build.gradle
1 2 3 4 5 6 7 8
|
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt'
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" compile "org.jetbrains.anko:anko-commons:0.10.4" }
|
https://qmuiteam.com/android
1
|
implementation 'com.qmuiteam:qmui:2.0.0-alpha02'
|
RoundedImageView
背景圆角
FlycoRoundView
1 2 3 4
|
//图片圆角 implementation 'com.makeramen:roundedimageview:2.3.0' //背景圆角 implementation 'com.flyco.roundview:FlycoRoundView_Lib:1.1.4@aar'
|
Toasty
1
|
implementation 'com.github.GrenderG:Toasty:1.2.8'
|
Material Dialogs
1
|
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
|
CircleProgressBar
1 2
|
//圆状进度 implementation 'com.dinuscxj:circleprogressbar:1.1.1'
|
https://github.com/youth5201314/banner
1
|
implementation 'com.youth.banner:banner:2.0.11'
|
BGABanner-Android
1 2
|
//Banner implementation 'cn.bingoogolapple:bga-banner:2.2.4@aar'
|
TagCloudView
1 2
|
//标签云 implementation 'com.github.kingideayou:tagcloudview:1.0.2'
|
DropDownMenu
1 2 3 4 5 6 7 8 9 10
|
allprojects { repositories { ... maven { url "https://jitpack.io" } } }
dependencies { compile 'com.github.dongjunkun:DropDownMenu:1.0.4' }
|
SHSegmentControl
1
|
implementation 'com.7heaven.widgets:segmentcontrol:1.17'
|
html-textview
1 2 3
|
dependencies { implementation 'org.sufficientlysecure:html-textview:3.5' }
|
CustomPopwindow
1 2 3 4 5 6 7 8 9 10 11
|
allprojects { epositories { //... maven { url 'https://jitpack.io' } }
dependencies { compile 'com.github.pinguo-zhouwei:CustomPopwindow:2.1.1' }
|
-
XPermission
最快最简单的方式适配Android6.0权限
-
PermissionsDispatcher
不推荐使用
BaseRecyclerViewAdapterHelper
1
|
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
|
RxAndroid
1 2 3 4 5
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2' implementation 'io.reactivex.rxjava2:rxjava:2.1.10' implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1' implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.1' implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'
|
-
okhttp-OkGo
-
fastjson
1 2 3 4 5
|
//网络请求 implementation 'com.lzy.net:okgo:3.0.4' implementation 'com.lzy.net:okrx2:2.0.2' //JSON implementation 'com.alibaba:fastjson:1.2.46'
|
android-lite-orm
EventBus
1
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
Glide
OR
glide-transformations
选其一
Glide
1 2
|
//Glide implementation 'com.github.bumptech.glide:glide:3.7.0'
|
glide-transformations
1 2 3
|
//glide-transformations implementation 'jp.wasabeef:glide-transformations:3.1.1' implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
|
android-gif-drawable
1
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.+'
|
Butterknife
1 2
|
implementation 'com.jakewharton:butterknife:8.8.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
如果编程语言为
Kotlin
, 替换
annotationProcessor
为
kapt
Bugly
1
|
compile 'com.tencent.bugly:crashreport:latest.release'
|
GitHub上受欢迎的Android UI Library