diff options
author | Sam Judd <judds@google.com> | 2014-11-06 08:16:44 -0800 |
---|---|---|
committer | Sam Judd <judds@google.com> | 2014-11-06 08:16:44 -0800 |
commit | e91ade604c4a3c145aacecd8293e9f7a356b5dae (patch) | |
tree | 13b78378d429d58e3fee1d52e0bc26865c176199 | |
parent | 0299bf37b060a03dd6cc4e7d3509804c70e046ca (diff) | |
download | glide-e91ade604c4a3c145aacecd8293e9f7a356b5dae.tar.gz |
Use source strategy in Giphy sample.
-rw-r--r-- | samples/giphy/src/main/java/com/bumptech/glide/samples/giphy/MainActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/giphy/src/main/java/com/bumptech/glide/samples/giphy/MainActivity.java b/samples/giphy/src/main/java/com/bumptech/glide/samples/giphy/MainActivity.java index dbd40b2d..7aaac1f3 100644 --- a/samples/giphy/src/main/java/com/bumptech/glide/samples/giphy/MainActivity.java +++ b/samples/giphy/src/main/java/com/bumptech/glide/samples/giphy/MainActivity.java @@ -50,7 +50,7 @@ public class MainActivity extends Activity implements Api.Monitor { gifItemRequest = Glide.with(this) .from(Api.GifResult.class) - .diskCacheStrategy(DiskCacheStrategy.ALL) + .diskCacheStrategy(DiskCacheStrategy.SOURCE) .fitCenter(); adapter = new GifAdapter(this, preloader, gifItemRequest); |