//取消glide加载
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
if (Util.isOnMainThread() && !isFinishing() && !isDestroyed()) {
GlideApp.with(this).pauseRequests();
}
} else {
if (Util.isOnMainThread() && !isFinishing()) {
GlideApp.with(this).pauseRequests();
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
if (Util.isOnMainThread() && !isFinishing() && !isDestroyed()) {
GlideApp.with(this).pauseRequests();
}
} else {
if (Util.isOnMainThread() && !isFinishing()) {
GlideApp.with(this).pauseRequests();
}
}