1:recycleview
compile 'com.android.support:recyclerview-v7:25.1.1'
2:glide
compile 'com.github.bumptech.glide:glide:3.7.0'
3:EventBus
compile 'org.greenrobot:eventbus:3.0.0'
4:fastjson
compile 'com.alibaba:fastjson:1.2.24'
5:okhttp3
compile 'com.squareup.okhttp3:okhttp:3.5.0'
6: 侧滑删除SwipeMenu
compile 'com.baoyz.swipemenulistview:library:1.3.0'
7: okhttp3持久化:cookieJar
compile 'com.github.franmontiel:PersistentCookieJar:v1.0.1'
8:webviewBridge(JS交互):
repositories {
maven { url "https://jitpack.io" }
}
compile 'com.github.lzyzsd:jsbridge:1.0.4'
9: 原生okhttp:
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.squareup.okio:okio:1.5.0'
10: design包
compile 'com.android.support:design:25.2.0'
11: PtrClassicFrameLayout包(刷新样式)
allprojects {
repositories {
jcenter()
mavenCentral();
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
}
compile 'in.srain.cube:ultra-ptr:1.0.11'
12: SwipeToLoadLayou(刷新和加载样式)
compile 'com.github.Aspsine:SwipeToLoadLayout:1.0.4'
repositories {
maven { url “https://jitpack.io” }
}
13:IOS滚动效果
compile 'me.everything:overscroll-decor-android:1.0.4'
14:沉浸式状态栏
方法1:
compile 'com.githang:status-bar-compat:latest.integration'
StatusBarCompat.setStatusBarColor(this, color, lightStatusBar);
方法2:https://blog.youkuaiyun.com/lmq121210/article/details/80830701
15:仿IOS时间选择器
compile 'com.contrarywind:Android-PickerView:3.2.6'
github网址:https://github.com/Bigkoo/Android-PickerView
16:仿微信图片选择器
compile 'com.commit451:PhotoView:1.2.4'
compile 'com.isseiaoki:simplecropview:1.0.13'
compile 'com.yongchun:com.yongchun.imageselector:1.1.0'
17:顶部弹出MySnackBar
compile 'com.trycatch.android:mysnackbar:1.2.2'
github网址:https://github.com/guoyoujin/MySnackBar
18:FlexBoxLayout (能实现流式布局)
compile 'com.google.android:flexbox:0.2.3'
github官网:https://github.com/google/flexbox-layout
csdn网址:http://blog.youkuaiyun.com/u012702547/article/details/52293593
自定义流式布局:http://blog.youkuaiyun.com/lmq121210/article/details/72477648
19:slidingTabLayout 封装TAB
compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.2@aar'
20 :Reforfit
//Reforfit的导入
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
//Reforfit的GSON解析
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
//Log打印日志
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
Demo地址:https://download.youkuaiyun.com/download/lmq121210/10503575
21:新手引导Guide
项目总Gradle添加
maven { url "https://jitpack.io" }
项目app中添加
compile 'com.github.Sbingo:GuideView:1.1.0'
项目作者:https://blog.youkuaiyun.com/recordgrowth/article/details/60783037