You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
--- +++ @@ -31,7 +31,7 @@
Using the [``@GlideModule``][5] annotation requires a dependency on Glide's annotations:
```groovy
-compile 'com.github.bumptech.glide:annotations:4.2.0'+compile 'com.github.bumptech.glide:annotations:4.3.0'
```
#### Applications
@@ -55,8 +55,8 @@
Including Glide's annotation processor requires dependencies on Glide's annotations and the annotation processor:
```groovy
-compile 'com.github.bumptech.glide:annotations:4.2.0'-annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0'+compile 'com.github.bumptech.glide:annotations:4.3.0'+annotationProcessor 'com.github.bumptech.glide:compiler:4.3.0'
```
Finally, you should keep AppGlideModule implementations in your ``proguard.cfg``:
@@ -197,8 +197,8 @@
#### UncaughtThrowableStrategy
-When loading a bitmap, if an exception happens (e.g. `OutOfMemoryException`), Glide will use a `GlideExecutor.UncaughtThrowableStrategy`. -The default strategy is to log the exception in the device logcat. The strategy is customizable since glide 4.2.0. It can be passed to a disk executor and/or a resize executor:+When loading a bitmap, if an exception happens (e.g. `OutOfMemoryException`), Glide will use a `GlideExecutor.UncaughtThrowableStrategy`.+The default strategy is to log the exception in the device logcat. The strategy is customizable since Glide 4.2.0. It can be passed to a disk executor and/or a resize executor:
```java
@GlideModule
--- +++ @@ -11,25 +11,45 @@
The sample apps are all built with gradle, so most relevant code will be under sample\_app\_name/src/main.
+Sample apps can be built by:++1. Clone the [Glide repo][10] from GitHub.+2. Run: ``./gradlew :samples:<sample_name>:build``++If you want to automatically install and open the sample app you can use:++``./gradlew :samples:<sample_name>:run``++
##### Flickr
The Flickr app allows users to search for images matching keywords using Flickr's public API, and then downloads the first few hundred hits and displays them in a couple of different sizes.
* [Source Code][2]
+* Build with: ``./gradlew :samples:flickr:run``
##### Gallery
The Gallery app displays images and video stills from on the device in a horizontally scrolling RecyclerView.
* [Source Code][3]
+* Build with: ``./gradlew :samples:gallery:run``
##### Giphy
The Giphy app downloas metadata for and popular animated GIFs using [Giphy's public API][4] and displays them in a vertical list.
* [Source Code][5]
+* Build with: ``./gradlew :samples:giphy:run``
##### SVG
The SVG sample app demonstrates how you can use Glide's flexible decoding pipeline to decode custom resource types. The SVG app loads SVG data from resources and over the network, and uses a custom decoder and drawable to display the SVG with Glide.
* [Source Code][6]
+* Build with: ``./gradlew :samples:svg:run``++##### Imgur+The Imgur sample app retrieves a list of animated and non-animated images from Imgur and displays them in a vertically scrolling list.++* [Source Code][11]+* Build with: ``./gradlew :samples:imgur:run``
#### Open Source Apps
@@ -47,5 +67,5 @@
[7]: https://github.com/google/iosched/blob/master/doc/IMAGES.md
[8]: https://github.com/google/iosched/blob/master/README.md#how-to-work-with-the-source
[9]: https://github.com/google/iosched
--+[10]: https://github.com/bumptech/glide+[11]: https://github.com/bumptech/glide/tree/master/samples/imgur
--- +++ @@ -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.2.0") {+compile ("com.github.bumptech.glide:recyclerview-integration:4.3.0") {
// Excludes the support library because it's already included by Glide.
transitive = false
}
The text was updated successfully, but these errors were encountered:
概述
此 Issue 由 Sync Robot 自动创建,详情请参见 #6 。
本次扫描结果: 新增:0 , 修改: 9, 删除: 0。
文件变化列表
文件具体变更信息如下(仅展示UPDATED):
The text was updated successfully, but these errors were encountered: