compile 'com.github.bumptech.glide:glide:3.7.0'//加载图片
compile 'com.facebook.fresco:fresco:0.12.0'
compile 'com.zxy.android:recovery:0.0.8' //加载图片
compile 'com.youth.banner:banner:1.4.9' //轮播
compile 'com.squareup.okhttp3:okhttp:3.3.0'//okhttp3
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:design:25.3.1'
compile 'com.chanven.lib:cptr:1.1.0' //上拉加载
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.google.code.gson:gson:2.6.1'
compile 'com.squareup.retrofit2:converter-gson:2.1.0' //retrofit2
glide进阶 compile 'jp.wasabeef:glide-transformations:2.0.2'
// If you want to use the GPU Filters
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'(BlurTransformation,高斯模糊)CropCircleTransformation(裁剪圆边)CropSquareTransformation(裁剪方形)
repositories { jcenter()}
compile 'com.bm.photoview:library:1.4.1'大图加载
photoView.enable();
// photoView.disenable();
Info info = photoView.getInfo();
photoView.animaFrom(info);
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.0' 《项目里》greendao数据库
compile 'org.greenrobot:greendao:3.2.0'《app》
apply plugin: 'org.greenrobot.greendao'《上边》
greendao{
schemaVersion 1
daoPackage 'com.example.zhoukaolianxi.dao'
targetGenDir 'src/main/java'
}
GreenDaoHelper daoHelper = new GreenDaoHelper(Main4Activity.this);
SQLiteDatabase sqLiteDatabase = daoHelper.getRead();
DaoMaster daoMaster = new DaoMaster(sqLiteDatabase);
DaoSession daoSession = daoMaster.newSession();
beanDao = daoSession.getBeanDao();
private static final long serialVersionUID=1L;
ormLite数据库
compile 'com.j256.ormlite:ormlite-android:4.48'
compile 'com.j256.ormlite:ormlite-core:4.48'compile '
com.github.bumptech.glide:glide:3.6.1' //动图加载
compile 'com.bm.photoview:library:1.4.1'
compile 'com.mcxiaoke.volley:library:1.0.19'//volley