Skip to content

Commit

Permalink
fix #116 fix #117 [兼容Glide3](#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoogolapple committed Dec 1, 2017
1 parent 3e73916 commit e3dced8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
:running:BGAPhotoPicker-Android:running:
============

[兼容 Glide3](https://github.com/bingoogolapple/BGAPhotoPicker-Android/issues/118)

## 目录

* [功能介绍](#功能介绍)
Expand Down
4 changes: 2 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ dependencies {
implementation 'pub.devrel:easypermissions:1.0.1'
// 以上几个库是演示案例所使用到的

implementation project(':library')
// implementation project(':library')

// -------------------- 以下4个库是必须依赖的 ----------------------------
// implementation 'cn.bingoogolapple:bga-photopicker:1.2.6@aar'
implementation 'cn.bingoogolapple:bga-photopicker:1.2.7@aar'
implementation 'com.android.support:appcompat-v7:27.0.1'
implementation 'com.android.support:support-v4:27.0.1'
implementation 'com.android.support:recyclerview-v7:27.0.1'
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ ANDROID_BUILD_TARGET_SDK_VERSION=26
ANDROID_BUILD_SDK_VERSION=26
ANDROID_BUILD_TOOLS_VERSION=26.0.3

VERSION_NAME=1.2.6
VERSION_CODE=126
VERSION_NAME=1.2.7
VERSION_CODE=127
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ private static final BGAImageLoader getImageLoader() {
return sImageLoader;
}

/**
* 设置开发者自定义 ImageLoader
*
* @param imageLoader
*/
public static void setImageLoader(BGAImageLoader imageLoader) {
sImageLoader = imageLoader;
}

private static final boolean isClassExists(String classFullName) {
try {
Class.forName(classFullName);
Expand Down

0 comments on commit e3dced8

Please sign in to comment.