添加的依赖

来源:互联网 发布:纹理过滤 三线性优化 编辑:程序博客网 时间:2024/05/25 16:39
compile 'com.squareup.okhttp3:okhttp:3.3.0'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.github.bumptech.glide:glide:3.8.0'
compile 'com.android.support:design:25.2.0'


//上拉加载下拉刷新框架
compile 'com.chanven.lib:cptr:1.1.0'
//轮播图Banner
compile 'com.youth.banner:banner:1.4.9'


需要导入的依赖导入Retrofit2.0以上包
compile 'com.squareup.retrofit2:retrofit:2.1.0'
该包对gson进行了一次封装使用起来更加方便
compile 'com.squareup.retrofit2:converter-gson:2.1.0'


//为了让PhotoView不用和模拟器,手机冲突
compile 'com.bm.photoview:library:1.4.1'
compile 'com.github.bumptech.glide:glide:3.6.1'
Xml中
<com.bm.library.PhotoView
        android:id="@+id/img"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerInside"
        android:src="@mipmap/ic_launcher" />
OrmLite中添加的依赖
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'com.j256.ormlite:ormlite-core:4.48' 

Rxjava1.0
compile 'io.reactivex:rxjava:1.0.14'
compile 'io.reactivex:rxandroid:1.0.1'


Rxjava2.0
compile 'io.reactivex.rxjava2:rxjava:2.0.1'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.squareup.retrofit2:retrofit-converters:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'


xrecyclerview
compile 'com.jcodecraeer:xrecyclerview:1.3.2'


picasso
compile 'com.squareup.picasso:picasso:2.3.2'
原创粉丝点击