android 常用第三方框架导入

来源:互联网 发布:2017人工智能龙头股 编辑:程序博客网 时间:2024/05/16 23:35

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:沉浸式状态栏

compile 'com.githang:status-bar-compat:latest.integration'
StatusBarCompat.setStatusBarColor(this, color, lightStatusBar);

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.csdn.net/u012702547/article/details/52293593
自定义流式布局:http://blog.csdn.net/lmq121210/article/details/72477648

原创粉丝点击