Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

翻译文档同步计划-内容不一致 #20

Closed
GlideDocsCNBot opened this issue Jan 23, 2018 · 0 comments
Closed

翻译文档同步计划-内容不一致 #20

GlideDocsCNBot opened this issue Jan 23, 2018 · 0 comments

Comments

@GlideDocsCNBot
Copy link
Collaborator

概述

此 Issue 由 Sync Robot 自动创建,详情请参见 #6
本次扫描结果: 新增:0 , 修改: 9, 删除: 0

文件变化列表

变更类型 文件名
UPDATED 2015-05-17-javadocs.md
UPDATED 2017-05-10-volley.md
UPDATED 2017-05-10-recyclerview.md
UPDATED 2017-03-14-configuration.md
UPDATED 2017-05-10-okhttp3.md
UPDATED 2017-05-10-about.md
UPDATED 2015-05-15-download-setup.md
UPDATED 2017-04-17-generatedapi.md
UPDATED 2017-12-05-custom-modelloader.md

文件具体变更信息如下(仅展示UPDATED):

--- 

+++ 

@@ -5,8 +5,7 @@

 date: 2015-05-17 17:38:22
 ---
 
-* [Glide 4.6.0-SNAPSHOT][9]
-* [Glide 4.5.0][8]
+* [Glide 4.5.0-SNAPSHOT][8]
 * [Glide 4.4.0][7]
 * [Glide 4.3.1][6]
 * [Glide 4.3.0][5]
@@ -23,7 +22,6 @@

 [6]:{{ site.baseurl }}{% link /javadocs/431/index.html %}
 [7]:{{ site.baseurl }}{% link /javadocs/440/index.html %}
 [8]:{{ site.baseurl }}{% link /javadocs/450/index.html %}
-[9]:{{ site.baseurl }}{% link /javadocs/460/index.html %}
 
 
 
--- 

+++ 

@@ -17,7 +17,7 @@

 Then add a Gradle dependency on the Volley integration library:
 
 ```groovy
-compile "com.github.bumptech.glide:volley-integration:4.5.0"
+compile "com.github.bumptech.glide:volley-integration:4.4.0"
 ```
 
 Adding a Gradle dependency on the Volley integration library will cause Glide to start automatically using Volley to load images for all http and https urls.
--- 

+++ 

@@ -21,7 +21,7 @@

 To use the RecyclerView integration library, add a dependency on it in your ``build.gradle`` file:
 
 ```groovy
-compile ("com.github.bumptech.glide:recyclerview-integration:4.5.0") {
+compile ("com.github.bumptech.glide:recyclerview-integration:4.4.0") {
   // Excludes the support library because it's already included by Glide.
   transitive = false
 }
--- 

+++ 

@@ -33,8 +33,8 @@

 
 Including Glide's annotation processor requires dependencies on Glide's annotations and the annotation processor:
 ```groovy
-compile 'com.github.bumptech.glide:annotations:4.5.0'
-annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
+compile 'com.github.bumptech.glide:annotations:4.4.0'
+annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
 ```
 
 Finally, you should keep AppGlideModule implementations in your ``proguard.cfg``:
@@ -65,7 +65,7 @@

 
 Using the [``@GlideModule``][5] annotation requires a dependency on Glide's annotations:
 ```groovy
-compile 'com.github.bumptech.glide:annotations:4.5.0'
+compile 'com.github.bumptech.glide:annotations:4.4.0'
 ```
 
 ##### Avoid AppGlideModule in libraries
--- 

+++ 

@@ -17,7 +17,7 @@

 Then add a Gradle dependency on the OkHttp integration library:
 
 ```groovy
-compile "com.github.bumptech.glide:okhttp3-integration:4.5.0"
+compile "com.github.bumptech.glide:okhttp3-integration:4.4.0"
 ```
 
 Adding a Gradle dependency on the OkHttp integration library will cause Glide to start automatically using OkHttp to load all images from http and https urls.
--- 

+++ 

@@ -45,13 +45,13 @@

 
 ```groovy
 implementation com.squareup.okhttp3:okhttp:3.9.1
-implementation com.github.bumptech.glide:okhttp-integration:4.5.0
+implementation com.github.bumptech.glide:okhttp-integration:4.4.0
 ```
 
 For more control, you can also exclude the OkHttp from the transitive dependencies of the ``okhttp-integration`` library:
 
 ```groovy
-implementation (com.github.bumptech.glide:okhttp-integration:4.5.0) {
+implementation (com.github.bumptech.glide:okhttp-integration:4.4.0) {
   exclude group: com.squareup.okhttp3, module: okhttp
 }
 ```
@@ -59,7 +59,7 @@

 Or you could simply exclude all transitive dependencies of the ``okhttp-integration`` library:
 
 ```groovy
-implementation (com.github.bumptech.glide:okhttp-integration:4.5.0) {
+implementation (com.github.bumptech.glide:okhttp-integration:4.4.0) {
   transitive = false
 }
 ```
--- 

+++ 

@@ -19,8 +19,8 @@

 If you need or would prefer to use a different version of the support library you should exclude `"com.android.support"` from your Glide dependency in your `build.gradle` file. For example, if you'd like to use v26 of the support library:
 
 ```groovy
-dependencies {
-  implementation ("com.github.bumptech.glide:glide:4.5.0") {
+depdendencies {
+  implementation ("com.github.bumptech.glide:glide:4.4.0") {
     exclude group: "com.android.support"
   }
   implementation "com.android.support:support-fragment:26.1.0"
@@ -57,37 +57,9 @@

 }
 
 dependencies {
-    compile 'com.github.bumptech.glide:glide:4.5.0'
-    annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
-}
-```
-
-**Note:** Avoid using `@aar` in your dependencies whenever possible. If you must do so, add `transitive = true` to ensure that all necessary classes are included in your APK:
-
-```groovy
-dependencies {
-    implementation ("com.github.bumptech.glide:glide:4.5.0@aar") {
-        transitive = true
-    }
-}
-```
-
-`@aar` is Gradle's ["Artifact only"][9] notation that excludes dependencies by default. 
-
-Excluding Glide's dependencies by using `@aar` without `transitive = true `will result in runtime exceptions like:
-
-```
-java.lang.NoClassDefFoundError: com.bumptech.glide.load.resource.gif.GifBitmapProvider
-    at com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder.<init>(ByteBufferGifDecoder.java:68)
-    at com.bumptech.glide.load.resource.gif.ByteBufferGifDecoder.<init>(ByteBufferGifDecoder.java:54)
-    at com.bumptech.glide.Glide.<init>(Glide.java:327)
-    at com.bumptech.glide.GlideBuilder.build(GlideBuilder.java:445)
-    at com.bumptech.glide.Glide.initializeGlide(Glide.java:257)
-    at com.bumptech.glide.Glide.initializeGlide(Glide.java:212)
-    at com.bumptech.glide.Glide.checkAndInitializeGlide(Glide.java:176)
-    at com.bumptech.glide.Glide.get(Glide.java:160)
-    at com.bumptech.glide.Glide.getRetriever(Glide.java:612)
-    at com.bumptech.glide.Glide.with(Glide.java:684)
+    compile 'com.github.bumptech.glide:glide:4.4.0'
+    annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
+}
 ```
 
 #### Maven
@@ -98,7 +70,7 @@

 <dependency>
   <groupId>com.github.bumptech.glide</groupId>
   <artifactId>glide</artifactId>
-  <version>4.5.0</version>
+  <version>4.4.0</version>
   <type>aar</type>
 </dependency>
 <dependency>
@@ -109,7 +81,7 @@

 <dependency>
   <groupId>com.github.bumptech.glide</groupId>
   <artifactId>compiler</artifactId>
-  <version>4.5.0</version>
+  <version>4.4.0</version>
   <optional>true</optional>
 </dependency>
 ```
@@ -204,12 +176,9 @@

 -keep public class * implements com.bumptech.glide.module.GlideModule
 -keep public class * extends com.bumptech.glide.module.AppGlideModule
 -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
-  **[] $VALUES;
-  public *;
-}
-
-# for DexGuard only
--keepresourcexmlelements manifest/application/meta-data@value=GlideModule
+    **[] $VALUES;
+    public *;
+}
 ```
 
 #### Jack
@@ -226,7 +195,7 @@

 
 ```groovy
 dependencies {
-  kapt 'com.github.bumptech.glide:compiler:4.5.0'
+  kapt 'com.github.bumptech.glide:compiler:4.4.0'
 }
 ```
 Note that you must also include the ``kotlin-kapt`` plugin in your ``build.gradle`` file:
@@ -245,4 +214,3 @@

 [6]: {{ site.baseurl }}/doc/generatedapi.html#kotlin
 [7]: {{ site.baseurl }}/javadocs/431/com/bumptech/glide/load/engine/cache/ExternalPreferredCacheDiskCacheFactory.html
 [8]: https://github.com/bumptech/glide/issues/2730
-[9]: https://docs.gradle.org/current/userguide/dependency_management.html#ssub:artifact_dependencies
--- 

+++ 

@@ -39,7 +39,7 @@

    }
 
    dependencies {
-     annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
+     annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
    }
    ```
 
@@ -72,7 +72,7 @@

 
    ```groovy
    dependencies {
-     kapt 'com.github.bumptech.glide:compiler:4.5.0'
+     kapt 'com.github.bumptech.glide:compiler:4.4.0'
    }
    ```
   Note that you must also include the ``kotlin-kapt`` plugin in your ``build.gradle`` file:
@@ -85,7 +85,7 @@

    ```groovy
    dependencies {
      kapt "android.arch.lifecycle:compiler:1.0.0"
-     kapt 'com.github.bumptech.glide:compiler:4.5.0'
+     kapt 'com.github.bumptech.glide:compiler:4.4.0'
    }
    ```
 
--- 

+++ 

@@ -400,7 +400,7 @@

 Don't forget to add a dependency on Glide's annotation processor to your build.gradle file as well:
 
 ```groovy
-annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'
+annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'
 ```
 
 Next we want to get at Glide's [``Registry``][23], so we'll implement the [``registerComponents``][24] method in our ``AppGlideModule``:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant